Package software.amazon.smithy.linters
Class NoninclusiveTermsValidator
java.lang.Object
software.amazon.smithy.model.validation.AbstractValidator
software.amazon.smithy.linters.NoninclusiveTermsValidator
- All Implemented Interfaces:
Validator
Validates that all shape names and values do not contain non-inclusive terms.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
NoninclusiveTermsValidator configuration.static final class
-
Field Summary
Fields inherited from interface software.amazon.smithy.model.validation.Validator
MODEL_DEPRECATION, MODEL_ERROR
-
Method Summary
Modifier and TypeMethodDescriptionRuns a full text scan on a given model and stores the resulting TextOccurrences objects.Methods inherited from class software.amazon.smithy.model.validation.AbstractValidator
createEvent, createEvent, createEvent, createEvent, danger, danger, danger, danger, danger, danger, danger, danger, error, error, error, error, error, error, error, error, getName, note, note, note, note, note, note, note, note, warning, warning, warning, warning, warning, warning, warning, warning
-
Method Details
-
validate
Runs a full text scan on a given model and stores the resulting TextOccurrences objects. Namespaces are checked against a global set per model.- Parameters:
model
- Model to validate.- Returns:
- a list of ValidationEvents found by the implementer of getValidationEvents per the TextOccurrences provided by this traversal.
-