Class Selector.StartingContext
java.lang.Object
software.amazon.smithy.model.selector.Selector.StartingContext
- Enclosing interface:
- Selector
Starting environment context object used when evaluating a selector.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCreate a StartingContext that sends all shapes in a Model through the Selector.StartingContext
(Collection<? extends Shape> startingShapes) -
Method Summary
Modifier and TypeMethodDescriptionCollection<? extends Shape>
Get the potentially null set of starting shapes to provide to the selector.
-
Field Details
-
DEFAULT
-
-
Constructor Details
-
StartingContext
public StartingContext()Create a StartingContext that sends all shapes in a Model through the Selector. -
StartingContext
- Parameters:
startingShapes
- A specific set of shapes to send through the Selector rather than all Model shapes.
-
-
Method Details
-
getStartingShapes
Get the potentially null set of starting shapes to provide to the selector.- Returns:
- Returns the custom set starting shapes to provide to the selector.
-