Class StepRunOutputRulesItem


  • public final class StepRunOutputRulesItem
    extends java.lang.Object
    • Method Detail

      • getName

        public java.lang.String getName()
        Returns:
        The name of the validation rule.
      • getValid

        public boolean getValid()
        Returns:
        Indicates whether this validation rule passed or not. This field will be true only if the formula evaluates to true. If the rule's formula is array valued, then this field will only be true if the formula evaluates to true for every item in the array.
      • getValidArray

        public java.util.Optional<java.util.List<java.lang.String>> getValidArray()
        Returns:
        Only present if the validation rule's formula is array valued. This field contains the formula's evaluated result for every item in the array.
      • getFailureReason

        public java.util.Optional<StepRunOutputRulesItemFailureReason> getFailureReason()
        Returns:
        If the validation rule is not valid, then this describes why the rule failed.
        • "RULE_FAILED" - The formula evaluated to false or null
        • "PARSE_ERROR" - The formula could not be parsed
        • "VALUE_ERROR" - An error occurred while evaluating the formula
      • getError

        public java.util.Optional<java.lang.String> getError()
        Returns:
        If the failureReason is PARSE_ERROR or VALUE_ERROR, then this field contains the error's details.
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object