public final class ChooseStep<S,E,M> extends BranchStep<S,E,M>
ComputerAwareStep.EndStep
TraversalOptionParent.Pick
branchTraversal, traversalOptions
id, label, nextEnd, nextStep, previousStep, starts, traversal, traverserStepIdSetByChild
Constructor and Description |
---|
ChooseStep(Traversal.Admin traversal,
Traversal.Admin<S,?> predicateTraversal,
Traversal.Admin<S,E> trueChoice,
Traversal.Admin<S,E> falseChoice) |
ChooseStep(Traversal.Admin traversal,
Traversal.Admin<S,M> choiceTraversal) |
Modifier and Type | Method and Description |
---|---|
void |
addGlobalChildOption(M pickToken,
Traversal.Admin<S,E> traversalOption) |
clone, computerAlgorithm, getGlobalChildren, getLocalChildren, getRequirements, reset, setBranchTraversal, standardAlgorithm, toString
onEngine, processNextStart
addStart, addStarts, getId, getLabel, getNextStep, getPreviousStep, getTraversal, hasNext, next, setId, setLabel, setNextStep, setPreviousStep, setTraversal
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addGlobalChild, addLocalChild, asStep, getSelfAndChildRequirements, integrateChild
forEachRemaining, remove
public ChooseStep(Traversal.Admin traversal, Traversal.Admin<S,M> choiceTraversal)
public ChooseStep(Traversal.Admin traversal, Traversal.Admin<S,?> predicateTraversal, Traversal.Admin<S,E> trueChoice, Traversal.Admin<S,E> falseChoice)
public void addGlobalChildOption(M pickToken, Traversal.Admin<S,E> traversalOption)
addGlobalChildOption
in interface TraversalOptionParent<M,S,E>
addGlobalChildOption
in class BranchStep<S,E,M>
Copyright © 2013–2015 Apache Software Foundation. All rights reserved.