Enum Class ConsolidatedRun.State
- All Implemented Interfaces:
Serializable,Comparable<ConsolidatedRun.State>,Constable
- Enclosing class:
ConsolidatedRun
Where a run stands. The first three are going on, the last two are over.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEvery batch ran.The pipelines of the current batch are queued or running.The current batch has finished and the next one starts atConsolidatedRun.getNextBatchAt().Stopped before every batch ran.Someone stopped the run: no further batch starts, and the run ends when the current batch has. -
Method Summary
Modifier and TypeMethodDescriptionbooleanisActive()static ConsolidatedRun.StateReturns the enum constant of this class with the specified name.static ConsolidatedRun.State[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RUNNING
The pipelines of the current batch are queued or running. -
SLEEPING
The current batch has finished and the next one starts atConsolidatedRun.getNextBatchAt(). -
STOPPING
Someone stopped the run: no further batch starts, and the run ends when the current batch has. -
FINISHED
Every batch ran. -
STOPPED
Stopped before every batch ran.
-
-
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
-
isActive
public boolean isActive()
-