public enum CommandType extends java.lang.Enum<CommandType>
| Enum Constant and Description |
|---|
BAN |
BAN_IP |
BAN_LIST |
DEL_WARNING |
IPBAN_LIST |
KICK |
LIST_WARNINGS |
TEMP_BAN |
TEMP_BAN_IP |
UN_BAN |
WARN |
| Modifier and Type | Method and Description |
|---|---|
static CommandType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CommandType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandType BAN
public static final CommandType TEMP_BAN
public static final CommandType KICK
public static final CommandType WARN
public static final CommandType LIST_WARNINGS
public static final CommandType DEL_WARNING
public static final CommandType BAN_LIST
public static final CommandType IPBAN_LIST
public static final CommandType BAN_IP
public static final CommandType TEMP_BAN_IP
public static final CommandType UN_BAN
public static CommandType[] values()
for (CommandType c : CommandType.values()) System.out.println(c);
public static CommandType 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