Package nz.org.riskscape.engine.pipeline
Enum Class Pipeline.ProblemCodes
- All Implemented Interfaces:
Serializable
,Comparable<Pipeline.ProblemCodes>
,Constable
,ProblemCode
- Enclosing class:
- Pipeline
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAttempt to chain to a step's named input twice (when we infer the input name)Attempt to add an edge that has already been addedAttempt to chain to a named input that has already been chained toAttempt to chain to a named input on a step that doesn't support named inputsAttempt to add a value for a parameter that doesn't existAttempt to add a step with a name that already has been used in the pipelineAttempt to reference a step by a name that doesn't exist in the pipeline -
Method Summary
Modifier and TypeMethodDescriptionstatic Pipeline.ProblemCodes
Returns the enum constant of this class with the specified name.static Pipeline.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
-
NAMED_INPUT_NOT_ALLOWED
Attempt to chain to a named input on a step that doesn't support named inputs
-
DEFAULT_INPUT_ALREADY_CHAINED
Attempt to chain to a step's named input twice (when we infer the input name) -
INPUT_ALREADY_CHAINED
Attempt to chain to a named input that has already been chained to -
EDGE_ALREADY_EXISTS
Attempt to add an edge that has already been added -
STEP_ALREADY_ADDED
Attempt to add a step with a name that already has been used in the pipeline -
PARAMETER_UNKNOWN
Attempt to add a value for a parameter that doesn't exist -
STEP_NAME_UNKNOWN
Attempt to reference a step by a name that doesn't exist in the pipeline
-
-
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
-