public enum CommandUsage extends java.lang.Enum<CommandUsage>
Enum Constant and Description |
---|
C_ADD_ECON |
C_ADD_ITEM |
C_ADD_RANK |
C_ADD_XP |
C_INFO |
C_LIST |
C_REDEEM |
C_REMOVE |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getUsage() |
java.lang.String |
toString() |
static CommandUsage |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CommandUsage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandUsage C_ADD_ITEM
public static final CommandUsage C_ADD_ECON
public static final CommandUsage C_ADD_RANK
public static final CommandUsage C_ADD_XP
public static final CommandUsage C_REDEEM
public static final CommandUsage C_REMOVE
public static final CommandUsage C_LIST
public static final CommandUsage C_INFO
public static CommandUsage[] values()
for (CommandUsage c : CommandUsage.values()) System.out.println(c);
public static CommandUsage 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 java.lang.String getUsage()
public java.lang.String toString()
toString
in class java.lang.Enum<CommandUsage>