Enum Class DefaultPipelineExecutor.ProblemCodes

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

public static enum DefaultPipelineExecutor.ProblemCodes extends Enum<DefaultPipelineExecutor.ProblemCodes> implements nz.org.riskscape.problem.ProblemCode
  • Enum Constant Details

    • PARAMETER_EXPRESSION_NOT_REALIZABLE

      public static final DefaultPipelineExecutor.ProblemCodes PARAMETER_EXPRESSION_NOT_REALIZABLE

      When user supplies a parameter expression that cannot be realized against a nullable anything input type.

    • PARAMETER_WRONG_EXPRESSION_TYPE

      public static final DefaultPipelineExecutor.ProblemCodes PARAMETER_WRONG_EXPRESSION_TYPE
      When the user supplies a parameter expresssion of the wrong type. E.g a struct declaration is required but a property access provided.
  • Method Details

    • values

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