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