Class UnreferencedShapeValidator.Config
java.lang.Object
software.amazon.smithy.model.validation.linters.UnreferencedShapeValidator.Config
- Enclosing class:
- UnreferencedShapeValidator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe Selector used to find root shapes, and any shape that is not connected to any of the returned root shapes is considered unreferenced.void
setRootShapeSelector
(Selector rootShapeSelector)
-
Constructor Details
-
Config
public Config()
-
-
Method Details
-
getRootShapeSelector
The Selector used to find root shapes, and any shape that is not connected to any of the returned root shapes is considered unreferenced.Defaults to "service" if not set.
- Returns:
- Returns the root selector;
-
setRootShapeSelector
-