Enum Class SessionStatus
- All Implemented Interfaces:
Serializable,Comparable<SessionStatus>,Constable
Represents the lifecycle status of a workflow execution session.
A session transitions from RUNNING to one of the terminal states:
COMPLETED, FAILED, or CANCELLED.
- Since:
- 1.0
- Author:
- devteam@scivicslab.com
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic SessionStatusReturns the enum constant of this class with the specified name.static SessionStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RUNNING
The session is currently executing. -
COMPLETED
The session completed successfully. -
FAILED
The session terminated due to one or more failures. -
CANCELLED
The session was cancelled before completion.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-