Enum Class EventStatus
- All Implemented Interfaces:
Serializable, Comparable<EventStatus>, Constable
Lifecycle states persisted for an event execution.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionExecution was explicitly terminated.Every stage completed successfully.Definition exists but cannot execute.Execution stopped because a condition or action failed.Execution is suspended until explicitly resumed.One or more stages have run and further work may be due.Execution is waiting for its due time.First stage is being prepared. -
Method Summary
Modifier and TypeMethodDescriptionstatic EventStatusReturns the enum constant of this class with the specified name.static EventStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DRAFT
Definition exists but cannot execute. -
SCHEDULED
Execution is waiting for its due time. -
STARTING
First stage is being prepared. -
RUNNING
One or more stages have run and further work may be due. -
PAUSED
Execution is suspended until explicitly resumed. -
COMPLETED
Every stage completed successfully. -
FAILED
Execution stopped because a condition or action failed. -
CANCELLED
Execution was explicitly terminated.
-
-
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
-