public enum TimeLimitType extends java.lang.Enum<TimeLimitType>
Enum Constant and Description |
---|
IP_BAN |
IP_MUTE |
NAME_BAN |
PLAYER_BAN |
PLAYER_MUTE |
PLAYER_WARN |
ROLLBACK |
Modifier and Type | Method and Description |
---|---|
static TimeLimitType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TimeLimitType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimeLimitType PLAYER_BAN
public static final TimeLimitType PLAYER_MUTE
public static final TimeLimitType IP_BAN
public static final TimeLimitType IP_MUTE
public static final TimeLimitType PLAYER_WARN
public static final TimeLimitType ROLLBACK
public static final TimeLimitType NAME_BAN
public static TimeLimitType[] values()
for (TimeLimitType c : TimeLimitType.values()) System.out.println(c);
public static TimeLimitType 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