Enum Constant and Description |
---|
BAN
|
CLAIM
|
CLEAR
|
CLIPBOARD
|
COMMENT
|
COPY
|
DATABASE
|
DEBUG
|
DEBUGCLAIMTEST
|
DELETE
|
DENIED
|
DEOP
|
HELPERS
|
HOME
|
INBOX
|
INFO
|
INTERFACE
|
KICK
|
LIST
|
MERGE
|
OP
|
PASTE
|
PURGE
|
SET
|
SETUP
|
SWAP
|
TP
|
TRUSTED
|
UNBAN
|
UNLINK
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAlias()
|
java.lang.String |
getCommand()
|
CommandPermission
|
getPermission()
|
static Command |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Command[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Command SWAP
public static final Command INBOX
public static final Command DEBUGCLAIMTEST
public static final Command COMMENT
public static final Command TRUSTED
public static final Command PASTE
public static final Command CLIPBOARD
public static final Command COPY
public static final Command KICK
public static final Command HELPERS
public static final Command DENIED
public static final Command CLAIM
public static final Command MERGE
public static final Command UNLINK
public static final Command CLEAR
public static final Command DELETE
public static final Command DEBUG
public static final Command INTERFACE
public static final Command HOME
public static final Command INFO
public static final Command LIST
public static final Command SET
public static final Command PURGE
public static final Command SETUP
public static final Command OP
public static final Command DEOP
public static final Command BAN
public static final Command UNBAN
public static final Command DATABASE
public static final Command TP
public static Command[] values()
for (Command c : Command.values()) System.out.println(c);
public static 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 name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String getCommand()
public java.lang.String getAlias()
public CommandPermission getPermission()