public enum GitDiffWhitespace extends Enum<GitDiffWhitespace>
ignored.| Enum Constant and Description |
|---|
IGNORE_ALL_SPACE
Ignore all whitespace in the diff.
|
SHOW
The default whitespace setting, where the exact changes of the diff are shown, whitespace and all.
|
| Modifier and Type | Method and Description |
|---|---|
static GitDiffWhitespace |
fromDiffWhitespace(com.atlassian.bitbucket.content.DiffWhitespace value) |
String |
getFlag() |
boolean |
isFlagged() |
static GitDiffWhitespace |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GitDiffWhitespace[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GitDiffWhitespace SHOW
public static final GitDiffWhitespace IGNORE_ALL_SPACE
public static GitDiffWhitespace[] values()
for (GitDiffWhitespace c : GitDiffWhitespace.values()) System.out.println(c);
public static GitDiffWhitespace valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null@Nonnull public static GitDiffWhitespace fromDiffWhitespace(@Nonnull com.atlassian.bitbucket.content.DiffWhitespace value)
value - the DiffWhitespace mode to convertGitDiffWhitespace valueIllegalArgumentException - if an unsupported DiffWhitespace is providedNullPointerException - if the provided value is nullpublic boolean isFlagged()
Copyright © 2019 Atlassian. All rights reserved.