public static enum Privilege.Condition extends java.lang.Enum<Privilege.Condition>
| Enum Constant and Description |
|---|
ALLOW
Allow to use the privilege
|
DENY
Deny to use the privilege
|
| Modifier and Type | Method and Description |
|---|---|
static Privilege.Condition |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Privilege.Condition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Privilege.Condition ALLOW
public static final Privilege.Condition DENY
public static Privilege.Condition[] values()
for (Privilege.Condition c : Privilege.Condition.values()) System.out.println(c);
public static Privilege.Condition 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 null