public static enum Session.SessionState extends Enum<Session.SessionState>
Enum Constant and Description |
---|
ACTIVE
The code is currently executing.
|
BROKEN
The session is in an invalid state.
|
ENDED
The session is ended, and not available for code execution.
|
ENDING
The end session action has been called and is in the process of ending.
|
IDLE
The session is available for code execution.
|
Modifier and Type | Method and Description |
---|---|
static Session.SessionState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Session.SessionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Session.SessionState IDLE
public static final Session.SessionState ACTIVE
public static final Session.SessionState ENDED
public static final Session.SessionState ENDING
public static final Session.SessionState BROKEN
public static Session.SessionState[] values()
for (Session.SessionState c : Session.SessionState.values()) System.out.println(c);
public static Session.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<i>Copyright (c) 2021, SAS Institute Inc., Cary, NC, USA</i>