public static enum RoleUtils.Role extends Enum<RoleUtils.Role>
Enum Constant and Description |
---|
admin |
basic |
none |
nsadmin |
provider |
read |
write |
Modifier and Type | Method and Description |
---|---|
static RoleUtils.Role |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RoleUtils.Role[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RoleUtils.Role basic
public static final RoleUtils.Role read
public static final RoleUtils.Role write
public static final RoleUtils.Role provider
public static final RoleUtils.Role nsadmin
public static final RoleUtils.Role admin
public static final RoleUtils.Role none
public static RoleUtils.Role[] values()
for (RoleUtils.Role c : RoleUtils.Role.values()) System.out.println(c);
public static RoleUtils.Role valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null