public enum Authorization extends java.lang.Enum<Authorization>
Enum Constant and Description |
---|
ALLOW
Allows authorization to perform the action
|
DENY
Denies authorization to perform the action
|
NO_PERMISSION
If the user has neither ALLOW or DENY permissions to perform the action
|
Modifier and Type | Method and Description |
---|---|
static Authorization |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Authorization[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Authorization ALLOW
public static final Authorization DENY
public static final Authorization NO_PERMISSION
public static Authorization[] values()
for (Authorization c : Authorization.values()) System.out.println(c);
public static Authorization valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullPlease send bug reports and comments to Caplin support