public final class ChooseStep<S,E,M> extends BranchStep<S,E,M>
ComputerAwareStep.EndStep<S>
TraversalOptionParent.Pick
branchTraversal, traversalOptions
id, labels, 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, hashCode, reset, setBranchTraversal, standardAlgorithm, toString
onEngine, processNextStart
addLabel, addStart, addStarts, equals, getId, getLabels, getNextStep, getPreviousStep, getTraversal, hasNext, next, removeLabel, setId, setNextStep, setPreviousStep, setTraversal
finalize, getClass, notify, notifyAll, wait, wait, wait
addGlobalChild, addLocalChild, asStep, getSelfAndChildRequirements, integrateChild, removeGlobalChild, removeLocalChild
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.