Enum PermissionSet.Role
- java.lang.Object
-
- java.lang.Enum<PermissionSet.Role>
-
- com.atlassian.bamboo.configuration.external.yaml.properties.common.permissions.PermissionSet.Role
-
- All Implemented Interfaces:
Serializable
,Comparable<PermissionSet.Role>
- Enclosing class:
- PermissionSet
public static enum PermissionSet.Role extends Enum<PermissionSet.Role>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PermissionSet.Role
byLabel(String label)
String
getLabel()
static PermissionSet.Role
valueOf(String name)
Returns the enum constant of this type with the specified name.static PermissionSet.Role[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOGGED_IN
public static final PermissionSet.Role LOGGED_IN
-
ANONYMOUS
public static final PermissionSet.Role ANONYMOUS
-
-
Method Detail
-
values
public static PermissionSet.Role[] 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 (PermissionSet.Role c : PermissionSet.Role.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PermissionSet.Role 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
-
byLabel
public static PermissionSet.Role byLabel(String label)
-
getLabel
public String getLabel()
-
-