public enum SessionState extends java.lang.Enum<SessionState>
| Modifier and Type | Method and Description |
|---|---|
static SessionState |
valueOf(java.lang.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 CREATED
public static final SessionState RUNNING
public static final SessionState FAILED
public static final SessionState COMPLETED
public static SessionState[] values()
for (SessionState c : SessionState.values()) System.out.println(c);
public static SessionState 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