Package nz.org.riskscape.engine.pipeline
Enum Class NestedPipelineStep.State
- All Implemented Interfaces:
Serializable
,Comparable<NestedPipelineStep.State>
,Constable
- Enclosing interface:
- NestedPipelineStep
Used to track the construction state of this step, as we have to do a bit of collaboration across components to successfully build and validate pipeline steps that nest a child pipeline.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionNestedPipelineStep.getNestedPipeline()
will return nullNestedPipelineStep.getNestedPipeline()
will return a pipeline with just an id set.NestedPipelineStep.getNestedPipeline()
will return a fully populated pipeline that is ready to be realized -
Method Summary
Modifier and TypeMethodDescriptionstatic NestedPipelineStep.State
Returns the enum constant of this class with the specified name.static NestedPipelineStep.State[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EMPTY
NestedPipelineStep.getNestedPipeline()
will return null -
POINTER
NestedPipelineStep.getNestedPipeline()
will return a pipeline with just an id set. -
POPULATED
NestedPipelineStep.getNestedPipeline()
will return a fully populated pipeline that is ready to be realized
-
-
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
-