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