public enum SessionState extends Enum<SessionState>
Enum Constant and Description |
---|
AUTHENTICATING |
BINDING |
BOUND |
INITIAL |
STOPPED |
UNBOUND |
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 INITIAL
public static final SessionState UNBOUND
public static final SessionState BINDING
public static final SessionState AUTHENTICATING
public static final SessionState BOUND
public static final SessionState STOPPED
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