public static enum LoginEvent.Result extends Enum<LoginEvent.Result>
Enum Constant and Description |
---|
ALLOWED |
KICK_BANNED |
KICK_FULL |
KICK_OTHER |
KICK_WHITELIST |
Modifier and Type | Method and Description |
---|---|
static LoginEvent.Result |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LoginEvent.Result[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoginEvent.Result ALLOWED
public static final LoginEvent.Result KICK_FULL
public static final LoginEvent.Result KICK_BANNED
public static final LoginEvent.Result KICK_WHITELIST
public static final LoginEvent.Result KICK_OTHER
public static LoginEvent.Result[] values()
for (LoginEvent.Result c : LoginEvent.Result.values()) System.out.println(c);
public static LoginEvent.Result valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null