Package ai.extend.types
Class RuleValidationNextEntry.Builder
- java.lang.Object
-
- ai.extend.types.RuleValidationNextEntry.Builder
-
- All Implemented Interfaces:
RuleValidationNextEntry._FinalStage,RuleValidationNextEntry.ResultStage,RuleValidationNextEntry.StepStage
- Enclosing class:
- RuleValidationNextEntry
public static final class RuleValidationNextEntry.Builder extends java.lang.Object implements RuleValidationNextEntry.StepStage, RuleValidationNextEntry.ResultStage, RuleValidationNextEntry._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RuleValidationNextEntrybuild()RuleValidationNextEntry.Builderfrom(RuleValidationNextEntry other)RuleValidationNextEntry._FinalStageresult(RuleValidationNextEntryResult result)Routes based on whether all validation rules passed.RuleValidationNextEntry.ResultStagestep(java.lang.String step)The name of the target step.
-
-
-
Method Detail
-
from
public RuleValidationNextEntry.Builder from(RuleValidationNextEntry other)
- Specified by:
fromin interfaceRuleValidationNextEntry.StepStage
-
step
public RuleValidationNextEntry.ResultStage step(@NotNull java.lang.String step)
The name of the target step.
The name of the target step.
- Specified by:
stepin interfaceRuleValidationNextEntry.StepStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
result
public RuleValidationNextEntry._FinalStage result(@NotNull RuleValidationNextEntryResult result)
Routes based on whether all validation rules passed.
Routes based on whether all validation rules passed.
- Specified by:
resultin interfaceRuleValidationNextEntry.ResultStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
public RuleValidationNextEntry build()
- Specified by:
buildin interfaceRuleValidationNextEntry._FinalStage
-
-