Package jetbrains.buildServer.web.util
Enum TeamcityUIExperimental
- java.lang.Object
-
- java.lang.Enum<TeamcityUIExperimental>
-
- jetbrains.buildServer.web.util.TeamcityUIExperimental
-
- All Implemented Interfaces:
Serializable
,Comparable<TeamcityUIExperimental>
public enum TeamcityUIExperimental extends Enum<TeamcityUIExperimental>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DISABLE_DEFAULT
Disable by defaultENABLE_ALL
Enable for all usersENABLE_DEFAULT
Enable by default
-
Field Summary
Fields Modifier and Type Field Description static String
INTERNAL_PROPERTY
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isUsedCurrently(SUser user)
static TeamcityUIExperimental
valueOf(String name)
Returns the enum constant of this type with the specified name.static TeamcityUIExperimental[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DISABLE_DEFAULT
public static final TeamcityUIExperimental DISABLE_DEFAULT
Disable by default
-
ENABLE_DEFAULT
public static final TeamcityUIExperimental ENABLE_DEFAULT
Enable by default
-
ENABLE_ALL
public static final TeamcityUIExperimental ENABLE_ALL
Enable for all users
-
-
Field Detail
-
INTERNAL_PROPERTY
public static final String INTERNAL_PROPERTY
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static TeamcityUIExperimental[] 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 (TeamcityUIExperimental c : TeamcityUIExperimental.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TeamcityUIExperimental 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
-
isUsedCurrently
public static boolean isUsedCurrently(SUser user)
-
-