Package nz.org.riskscape.engine.pipeline
Enum Class PipelineBuilder.ProblemCodes
java.lang.Object
java.lang.Enum<PipelineBuilder.ProblemCodes>
nz.org.riskscape.engine.pipeline.PipelineBuilder.ProblemCodes
- All Implemented Interfaces:
Serializable
,Comparable<PipelineBuilder.ProblemCodes>
,Constable
,nz.org.riskscape.problem.ProblemCode
- Enclosing class:
- PipelineBuilder
public static enum PipelineBuilder.ProblemCodes
extends Enum<PipelineBuilder.ProblemCodes>
implements nz.org.riskscape.problem.ProblemCode
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionKeywords must be used once they are used at all within a step definitionA keyword was given, but it doesn't match a step's parameterAttempting to define a step twice - norty nortySub pipeline id is required for a nested pipeline, but is missingThe first step in a chain has a named input, which is pointlessWhen a step chain only contains a step reference. -
Method Summary
Modifier and TypeMethodDescriptionstatic PipelineBuilder.ProblemCodes
Returns the enum constant of this class with the specified name.static PipelineBuilder.ProblemCodes[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface nz.org.riskscape.problem.ProblemCode
name, toKey
-
Enum Constant Details
-
KEYWORD_REQUIRED
Keywords must be used once they are used at all within a step definition
-
STEP_PARAMETER_UNKNOWN
A keyword was given, but it doesn't match a step's parameter
-
STEP_REDEFINITION
Attempting to define a step twice - norty norty
-
UNUSED_STEP_REFERENCE
When a step chain only contains a step reference. Step references must be chained from something else.
-
UNUSED_NAMED_INPUT
The first step in a chain has a named input, which is pointless
-
SUB_PIPELINE_REQUIRED
Sub pipeline id is required for a nested pipeline, but is missing
-
-
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
-