public class DefaultStepCondition
extends java.lang.Object
| Constructor and Description |
|---|
DefaultStepCondition(PredicateMetadata metadata,
java.util.function.BiPredicate<DslModel,Context> predicate) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(MetadataVisitor visitor,
int depth) |
Metadata |
getMetadata()
Returns the metadata to describe this node.
|
java.util.function.BiPredicate<DslModel,Context> |
predicate()
Returns the predicate for this node value.
|
java.lang.String |
readable(java.util.Locale locale)
Returns the human readable version of this object.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitand, not, ormarkdown, markdown, readablepublic DefaultStepCondition(PredicateMetadata metadata, java.util.function.BiPredicate<DslModel,Context> predicate)
public Metadata getMetadata()
StepConditiongetMetadata in interface StepConditionpublic java.util.function.BiPredicate<DslModel,Context> predicate()
StepConditionpredicate in interface StepConditionpublic java.lang.String readable(java.util.Locale locale)
SyntaxTreereadable in interface SyntaxTreelocale - the locale to useSyntaxTree.readable()public void accept(MetadataVisitor visitor, int depth)
accept in interface SyntaxTree