Class UnreferencedShapeValidator.Config
- java.lang.Object
-
- software.amazon.smithy.model.validation.linters.UnreferencedShapeValidator.Config
-
- Enclosing class:
- UnreferencedShapeValidator
public static final class UnreferencedShapeValidator.Config extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Config()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Selector
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.void
setRootShapeSelector(Selector rootShapeSelector)
-
-
-
Method Detail
-
getRootShapeSelector
public Selector 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
public void setRootShapeSelector(Selector rootShapeSelector)
-
-