public final class RequirementsStep<S> extends AbstractStep<S,S>
id, labels, nextEnd, nextStep, previousStep, starts, traversal, traverserStepIdAndLabelsSetByChild
Constructor and Description |
---|
RequirementsStep(Traversal.Admin traversal,
Set<TraverserRequirement> requirements) |
Modifier and Type | Method and Description |
---|---|
void |
addRequirement(TraverserRequirement requirement) |
Set<TraverserRequirement> |
getRequirements()
Provide the necessary
TraverserRequirement that must be met by the traverser in order for the step to
function properly. |
protected Traverser.Admin<S> |
processNextStart() |
addLabel, addStart, addStarts, clone, equals, getId, getLabels, getNextStep, getPreviousStep, getStarts, getTraversal, hashCode, hasNext, isTraverserStepIdAndLabelsSetByChild, next, prepareTraversalForNextStep, removeLabel, reset, setId, setNextStep, setPreviousStep, setTraversal, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
forEachRemaining, remove
public RequirementsStep(Traversal.Admin traversal, Set<TraverserRequirement> requirements)
public void addRequirement(TraverserRequirement requirement)
public Set<TraverserRequirement> getRequirements()
Step
TraverserRequirement
that must be met by the traverser in order for the step to
function properly. The provided default implements returns an empty set.protected Traverser.Admin<S> processNextStart() throws NoSuchElementException
processNextStart
in class AbstractStep<S,S>
NoSuchElementException
Copyright © 2013–2021 Apache Software Foundation. All rights reserved.