Package com.google.gerrit.common
Enum UsedAt.Project
- java.lang.Object
-
- java.lang.Enum<UsedAt.Project>
-
- com.google.gerrit.common.UsedAt.Project
-
- All Implemented Interfaces:
Serializable
,Comparable<UsedAt.Project>
- Enclosing class:
- UsedAt
public static enum UsedAt.Project extends Enum<UsedAt.Project>
Enumeration of projects that call a method/type/field.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COLLABNET
GOOGLE
PLUGIN_CHECKS
PLUGIN_CODE_OWNERS
PLUGIN_DELETE_PROJECT
PLUGIN_HIGH_AVAILABILITY
PLUGIN_MULTI_SITE
PLUGIN_SERVICEUSER
PLUGIN_WEBSESSION_FLATFILE
PLUGINS_ALL
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UsedAt.Project
valueOf(String name)
Returns the enum constant of this type with the specified name.static UsedAt.Project[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GOOGLE
public static final UsedAt.Project GOOGLE
-
COLLABNET
public static final UsedAt.Project COLLABNET
-
PLUGIN_CHECKS
public static final UsedAt.Project PLUGIN_CHECKS
-
PLUGIN_CODE_OWNERS
public static final UsedAt.Project PLUGIN_CODE_OWNERS
-
PLUGIN_DELETE_PROJECT
public static final UsedAt.Project PLUGIN_DELETE_PROJECT
-
PLUGIN_SERVICEUSER
public static final UsedAt.Project PLUGIN_SERVICEUSER
-
PLUGIN_HIGH_AVAILABILITY
public static final UsedAt.Project PLUGIN_HIGH_AVAILABILITY
-
PLUGIN_MULTI_SITE
public static final UsedAt.Project PLUGIN_MULTI_SITE
-
PLUGIN_WEBSESSION_FLATFILE
public static final UsedAt.Project PLUGIN_WEBSESSION_FLATFILE
-
PLUGINS_ALL
public static final UsedAt.Project PLUGINS_ALL
-
-
Method Detail
-
values
public static UsedAt.Project[] 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 (UsedAt.Project c : UsedAt.Project.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UsedAt.Project 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
-
-