Enum Class Pipeline.ProblemCodes

java.lang.Object
java.lang.Enum<Pipeline.ProblemCodes>
nz.org.riskscape.engine.pipeline.Pipeline.ProblemCodes
All Implemented Interfaces:
Serializable, Comparable<Pipeline.ProblemCodes>, Constable, ProblemCode
Enclosing class:
Pipeline

public static enum Pipeline.ProblemCodes extends Enum<Pipeline.ProblemCodes> implements ProblemCode
  • Enum Constant Details

    • NAMED_INPUT_NOT_ALLOWED

      public static final Pipeline.ProblemCodes NAMED_INPUT_NOT_ALLOWED

      Attempt to chain to a named input on a step that doesn't support named inputs

    • DEFAULT_INPUT_ALREADY_CHAINED

      public static final Pipeline.ProblemCodes DEFAULT_INPUT_ALREADY_CHAINED
      Attempt to chain to a step's named input twice (when we infer the input name)
    • INPUT_ALREADY_CHAINED

      public static final Pipeline.ProblemCodes INPUT_ALREADY_CHAINED
      Attempt to chain to a named input that has already been chained to
    • EDGE_ALREADY_EXISTS

      public static final Pipeline.ProblemCodes EDGE_ALREADY_EXISTS
      Attempt to add an edge that has already been added
    • STEP_ALREADY_ADDED

      public static final Pipeline.ProblemCodes STEP_ALREADY_ADDED
      Attempt to add a step with a name that already has been used in the pipeline
    • PARAMETER_UNKNOWN

      public static final Pipeline.ProblemCodes PARAMETER_UNKNOWN
      Attempt to add a value for a parameter that doesn't exist
    • STEP_NAME_UNKNOWN

      public static final Pipeline.ProblemCodes STEP_NAME_UNKNOWN
      Attempt to reference a step by a name that doesn't exist in the pipeline
  • Method Details

    • values

      public static Pipeline.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 Pipeline.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