Enum GeneralPreferencesInfo.DiffView
- java.lang.Object
-
- java.lang.Enum<GeneralPreferencesInfo.DiffView>
-
- com.google.gerrit.extensions.client.GeneralPreferencesInfo.DiffView
-
- All Implemented Interfaces:
Serializable
,Comparable<GeneralPreferencesInfo.DiffView>
- Enclosing class:
- GeneralPreferencesInfo
public static enum GeneralPreferencesInfo.DiffView extends Enum<GeneralPreferencesInfo.DiffView>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SIDE_BY_SIDE
UNIFIED_DIFF
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GeneralPreferencesInfo.DiffView
valueOf(String name)
Returns the enum constant of this type with the specified name.static GeneralPreferencesInfo.DiffView[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SIDE_BY_SIDE
public static final GeneralPreferencesInfo.DiffView SIDE_BY_SIDE
-
UNIFIED_DIFF
public static final GeneralPreferencesInfo.DiffView UNIFIED_DIFF
-
-
Method Detail
-
values
public static GeneralPreferencesInfo.DiffView[] 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 (GeneralPreferencesInfo.DiffView c : GeneralPreferencesInfo.DiffView.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GeneralPreferencesInfo.DiffView 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
-
-