Package software.amazon.smithy.model.validation
package software.amazon.smithy.model.validation
-
ClassDescriptionAbstract Validator class that has helpful methods for emitting events.This validation event formatter outputs a validation event that points to the source code line that triggered the event.Writes
ValidationEvent
objects as a single line string.Builds aNodeValidationVisitor
.Features to use when validating.Severity level of a validation exception.Represents the result of an operation and theValidationEvent
s that occurred.Thrown whenValidatedResult.validate()
is called and the result contains ERROR events.A validation event created when validating a model.Builds ValidationEvent values.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.FormatsValidationEvent
s.Utility methods used when validating.Validates aModel
and returns a list ofValidationEvent
.Creates built-inValidator
instances andValidator
instances loaded by name.Represents a service provider for configurable Validators that appear in Smithy models.Provides a simple abstraction for creating validator service subclasses.