Package software.amazon.smithy.model.validation
-
Interface Summary Interface Description ValidationEventDecorator Validation event decorators take validation events and transform them by adding more contextual information, usually adding a hint to let the user know what can it be done to solve the issue.ValidationEventFormatter FormatsValidationEvent
s.Validator Validates aModel
and returns a list ofValidationEvent
.ValidatorFactory Creates built-inValidator
instances andValidator
instances loaded by name.ValidatorService Represents a service provider for configurable Validators that appear in Smithy models. -
Class Summary Class Description AbstractValidator Abstract Validator class that has helpful methods for emitting events.ContextualValidationEventFormatter This validation event formatter outputs a validation event that points to the source code line that triggered the event.LineValidationEventFormatter WritesValidationEvent
objects as a single line string.NodeValidationVisitor NodeValidationVisitor.Builder Builds aNodeValidationVisitor
.ValidatedResult<T> Represents the result of an operation and theValidationEvent
s that occurred.ValidationEvent A validation event created when validating a model.ValidationEvent.Builder Builds ValidationEvent values.ValidationUtils Utility methods used when validating.ValidatorService.Provider Provides a simple abstraction for creating validator service subclasses. -
Enum Summary Enum Description NodeValidationVisitor.Feature Features to use when validating.Severity Severity level of a validation exception. -
Exception Summary Exception Description ValidatedResultException Thrown whenValidatedResult.validate()
is called and the result contains ERROR events.