public enum SessionState extends Enum<SessionState>
enum
that represents session states.Enum Constant and Description |
---|
CLOSING
Session is closing.
|
OPEN
Session is open.
|
OPENING
Session is created but not open yet.
|
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 OPENING
public static final SessionState OPEN
public static final SessionState CLOSING
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 nullCopyright © 2017–2021 SNF4J.ORG. All rights reserved.