Enum DiffPreferencesInfo.Whitespace
- java.lang.Object
-
- java.lang.Enum<DiffPreferencesInfo.Whitespace>
-
- com.google.gerrit.extensions.client.DiffPreferencesInfo.Whitespace
-
- All Implemented Interfaces:
Serializable
,Comparable<DiffPreferencesInfo.Whitespace>
- Enclosing class:
- DiffPreferencesInfo
public static enum DiffPreferencesInfo.Whitespace extends Enum<DiffPreferencesInfo.Whitespace>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description IGNORE_ALL
IGNORE_LEADING_AND_TRAILING
IGNORE_NONE
IGNORE_TRAILING
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DiffPreferencesInfo.Whitespace
valueOf(String name)
Returns the enum constant of this type with the specified name.static DiffPreferencesInfo.Whitespace[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IGNORE_NONE
public static final DiffPreferencesInfo.Whitespace IGNORE_NONE
-
IGNORE_TRAILING
public static final DiffPreferencesInfo.Whitespace IGNORE_TRAILING
-
IGNORE_LEADING_AND_TRAILING
public static final DiffPreferencesInfo.Whitespace IGNORE_LEADING_AND_TRAILING
-
IGNORE_ALL
public static final DiffPreferencesInfo.Whitespace IGNORE_ALL
-
-
Method Detail
-
values
public static DiffPreferencesInfo.Whitespace[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DiffPreferencesInfo.Whitespace c : DiffPreferencesInfo.Whitespace.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DiffPreferencesInfo.Whitespace valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-