public class DefaultStepWhen extends java.lang.Object implements StepWhen
| Constructor and Description |
|---|
DefaultStepWhen(StepCondition stepCondition) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(MetadataVisitor visitor,
int depth) |
java.lang.String |
readable(java.util.Locale locale)
Returns the human readable version of this object.
|
StepCondition |
stepCondition()
Returns the root condition of the syntax tree.
|
ConditionalMappingRule |
then(MappingRule... mappingRule)
Return a conditional mapping rule containing all the given mapping rules.
|
ValidationRule |
validate()
Returns a validation rule.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmarkdown, markdown, readablepublic DefaultStepWhen(StepCondition stepCondition)
public StepCondition stepCondition()
StepWhenstepCondition in interface StepWhenpublic ValidationRule validate()
StepWhenpublic ConditionalMappingRule then(MappingRule... mappingRule)
StepWhenpublic 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