public static enum SystemAuthority.SystemPrivilege extends Enum<SystemAuthority.SystemPrivilege> implements Privilege
| Enum Constant and Description |
|---|
MANAGE_ROLES
managing of roles
|
MANAGE_USERS
managing of users
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static SystemAuthority.SystemPrivilege |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SystemAuthority.SystemPrivilege[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SystemAuthority.SystemPrivilege MANAGE_ROLES
public static final SystemAuthority.SystemPrivilege MANAGE_USERS
public static SystemAuthority.SystemPrivilege[] values()
for (SystemAuthority.SystemPrivilege c : SystemAuthority.SystemPrivilege.values()) System.out.println(c);
public static SystemAuthority.SystemPrivilege 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 nullpublic String toString()
toString in class Enum<SystemAuthority.SystemPrivilege>Copyright © GigaSpaces.