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
  • Enum Constant Details

    • KEYWORD_REQUIRED

      public static final PipelineBuilder.ProblemCodes KEYWORD_REQUIRED

      Keywords must be used once they are used at all within a step definition

    • STEP_PARAMETER_UNKNOWN

      public static final PipelineBuilder.ProblemCodes STEP_PARAMETER_UNKNOWN
      A keyword was given, but it doesn't match a step's parameter
    • STEP_REDEFINITION

      public static final PipelineBuilder.ProblemCodes STEP_REDEFINITION
      Attempting to define a step twice - norty norty
    • DEFINITION_ERROR

      public static final PipelineBuilder.ProblemCodes DEFINITION_ERROR
      Wraps a problem with the structure of the pipeline, as opposed to the syntax
    • UNUSED_STEP_REFERENCE

      public static final PipelineBuilder.ProblemCodes UNUSED_STEP_REFERENCE
      When a step chain only contains a step reference. Step references must be chained from something else.
    • UNUSED_NAMED_INPUT

      public static final PipelineBuilder.ProblemCodes UNUSED_NAMED_INPUT
      The first step in a chain has a named input, which is pointless
    • SUB_PIPELINE_REQUIRED

      public static final PipelineBuilder.ProblemCodes SUB_PIPELINE_REQUIRED
      Sub pipeline id is required for a nested pipeline, but is missing
  • Method Details

    • values

      public static PipelineBuilder.ProblemCodes[] 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

      public static PipelineBuilder.ProblemCodes valueOf(String name)
      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 name
      NullPointerException - if the argument is null