Package ai.extend.types
Interface StepRunOutputRulesItem._FinalStage
-
- All Known Implementing Classes:
StepRunOutputRulesItem.Builder
- Enclosing class:
- StepRunOutputRulesItem
public static interface StepRunOutputRulesItem._FinalStage
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StepRunOutputRulesItembuild()StepRunOutputRulesItem._FinalStageerror(java.lang.String error)StepRunOutputRulesItem._FinalStageerror(java.util.Optional<java.lang.String> error)If thefailureReasonisPARSE_ERRORorVALUE_ERROR, then this field contains the error's details.StepRunOutputRulesItem._FinalStagefailureReason(StepRunOutputRulesItemFailureReason failureReason)StepRunOutputRulesItem._FinalStagefailureReason(java.util.Optional<StepRunOutputRulesItemFailureReason> failureReason)If the validation rule is not valid, then this describes why the rule failed.StepRunOutputRulesItem._FinalStagevalidArray(java.util.List<java.lang.String> validArray)StepRunOutputRulesItem._FinalStagevalidArray(java.util.Optional<java.util.List<java.lang.String>> validArray)Only present if the validation rule's formula is array valued.
-
-
-
Method Detail
-
build
StepRunOutputRulesItem build()
-
validArray
StepRunOutputRulesItem._FinalStage validArray(java.util.Optional<java.util.List<java.lang.String>> validArray)
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.
-
validArray
StepRunOutputRulesItem._FinalStage validArray(java.util.List<java.lang.String> validArray)
-
failureReason
StepRunOutputRulesItem._FinalStage failureReason(java.util.Optional<StepRunOutputRulesItemFailureReason> failureReason)
If the validation rule is not valid, then this describes why the rule failed.
"RULE_FAILED"- The formula evaluated tofalseornull"PARSE_ERROR"- The formula could not be parsed"VALUE_ERROR"- An error occurred while evaluating the formula
-
failureReason
StepRunOutputRulesItem._FinalStage failureReason(StepRunOutputRulesItemFailureReason failureReason)
-
error
StepRunOutputRulesItem._FinalStage error(java.util.Optional<java.lang.String> error)
If the
failureReasonisPARSE_ERRORorVALUE_ERROR, then this field contains the error's details.
-
error
StepRunOutputRulesItem._FinalStage error(java.lang.String error)
-
-