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