Package de.uni_kiel.rz.fdr.repl
Enum Class REPLJob.JobState
- All Implemented Interfaces:
Serializable
,Comparable<REPLJob.JobState>
,Constable
- Enclosing class:
- REPLJob
The possible states that a job can be in.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe job was fully cancelledThe job is currently transitioning toCANCELLED
.The job has completed without errorsThe job has completed with errorsThe job terminated with an internal error not related to your codeThe job has not been started yetThe job is currently fully pausedThe job is currently transitioning toPAUSED
.The job is currently running -
Method Summary
Modifier and TypeMethodDescriptiontoString()
static REPLJob.JobState
Returns the enum constant of this class with the specified name.static REPLJob.JobState[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
-
Enum Constant Details
-
INTERNAL_ERROR
The job terminated with an internal error not related to your code -
PAUSING
The job is currently transitioning toPAUSED
. Residual workers are finishing their inputs. -
PAUSED
The job is currently fully paused -
CANCELLING
The job is currently transitioning toCANCELLED
. Residual workers are finishing their inputs or are currently forcefully terminated. -
CANCELLED
The job was fully cancelled -
RUNNING
The job is currently running -
COMPLETED_SUCCESSFULLY
The job has completed without errors -
NOT_YET_STARTED
The job has not been started yet -
COMPLETED_WITH_ERRORS
The job has completed with errors
-
-
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
-
toString
- Overrides:
toString
in classEnum<REPLJob.JobState>
-