public enum AuthorizedUserAction extends Enum<AuthorizedUserAction> implements AuthorizedAction
Enum Constant and Description |
---|
CREATE_USER |
DEACTIVATE_USER |
REACTIVATE_USER |
Modifier and Type | Method and Description |
---|---|
String |
getKey()
Returns the key of this authorized action which needs to be unique at least within a scoped object type.
|
static AuthorizedUserAction |
parseFromKey(String key) |
static AuthorizedUserAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthorizedUserAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthorizedUserAction CREATE_USER
public static final AuthorizedUserAction DEACTIVATE_USER
public static final AuthorizedUserAction REACTIVATE_USER
public static AuthorizedUserAction[] values()
for (AuthorizedUserAction c : AuthorizedUserAction.values()) System.out.println(c);
public static AuthorizedUserAction 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 getKey()
AuthorizedAction
getKey
in interface AuthorizedAction
public static AuthorizedUserAction parseFromKey(String key)