public interface StepCondition extends DSLBuilder
A condition is represented by a predicate predicate() and a DSLBuilder.metadata() describing the node.
| Modifier and Type | Method and Description |
|---|---|
default StepCondition |
and(StepCondition condition)
Returns a condition checking if the node predicate and the given condition predicate evaluate to true.
|
default StepCondition |
not()
Returns a condition checking if the node predicate does not evaluate to true.
|
default StepCondition |
or(StepCondition condition)
Returns a condition checking if the node predicate or the given condition predicate evaluate to true.
|
java.util.function.BiPredicate<FieldModel,Context> |
predicate()
Returns the predicate for this node value.
|
java.util.function.BiPredicate<FieldModel,Context> predicate()
default StepCondition and(StepCondition condition)
condition - the right side conditiondefault StepCondition or(StepCondition condition)
condition - the right side conditiondefault StepCondition not()