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