public static enum PermissionCommand.Command extends java.lang.Enum<PermissionCommand.Command>
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
command |
| Modifier and Type | Method and Description |
|---|---|
static PermissionCommand.Command |
getCommand(java.lang.String arg) |
static PermissionCommand.Command |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PermissionCommand.Command[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PermissionCommand.Command Grant
public static final PermissionCommand.Command Revoke
public static final PermissionCommand.Command List
public static final PermissionCommand.Command Get
public static PermissionCommand.Command[] values()
for (PermissionCommand.Command c : PermissionCommand.Command.values()) System.out.println(c);
public static PermissionCommand.Command 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 nullpublic static PermissionCommand.Command getCommand(java.lang.String arg)