public enum DiffWhitespace extends Enum<DiffWhitespace>
ignored
.Enum Constant and Description |
---|
IGNORE_ALL
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 DiffWhitespace |
fromString(String value) |
static DiffWhitespace |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DiffWhitespace[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DiffWhitespace SHOW
public static final DiffWhitespace IGNORE_ALL
public static DiffWhitespace[] values()
for (DiffWhitespace c : DiffWhitespace.values()) System.out.println(c);
public static DiffWhitespace 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 nullpublic static DiffWhitespace fromString(String value)
value
- the string valueDiffWhitespace
value, or SHOW
, but never null
.Copyright © 2022 Atlassian. All rights reserved.