public static enum PermissionRule.Action extends Enum<PermissionRule.Action>
Enum Constant and Description |
---|
ALLOW |
BATCH |
BLOCK |
DENY |
INTERACTIVE |
Modifier and Type | Method and Description |
---|---|
static PermissionRule.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PermissionRule.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PermissionRule.Action ALLOW
public static final PermissionRule.Action DENY
public static final PermissionRule.Action BLOCK
public static final PermissionRule.Action INTERACTIVE
public static final PermissionRule.Action BATCH
public static PermissionRule.Action[] values()
for (PermissionRule.Action c : PermissionRule.Action.values()) System.out.println(c);
public static PermissionRule.Action 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