Package | Description |
---|---|
jakarta.validation |
Top level package of the Jakarta Bean Validation API.
|
jakarta.validation.bootstrap |
Package containing bootstrap specific objects.
|
jakarta.validation.constraints |
Contains all the Jakarta Bean Validation provided constraints
also called built-in constraints.
|
jakarta.validation.executable |
Package related to the control and execution of executable validation.
|
jakarta.validation.metadata |
Package containing all objects specifically used and returned by the
metadata API.
|
jakarta.validation.spi |
Package containing objects specific to the interaction between the
Jakarta Bean Validation bootstrapping process and Jakarta Bean Validation providers.
|
jakarta.validation.valueextraction |
Package containing objects dedicated to extract values to validate from containers.
|
Class and Description |
---|
BootstrapConfiguration
Represents the user specified default configuration in
META-INF/validation.xml . |
ClockProvider
Contract for obtaining the
Clock used as the reference for now when
validating the @Future and @Past constraints. |
Configuration
Receives configuration information, selects the appropriate
Jakarta Bean Validation provider and builds the appropriate
ValidatorFactory . |
ConstraintDeclarationException
Exception raised if a constraint declaration is not legal.
|
ConstraintTarget
Defines the constraint target.
|
ConstraintValidator
Defines the logic to validate a given constraint
A
for a given object type T . |
ConstraintValidatorContext
Provides contextual data and operation when applying a given constraint validator.
|
ConstraintValidatorContext.ConstraintViolationBuilder
ConstraintViolation builder allowing to optionally associate
the violation report to a sub path. |
ConstraintValidatorContext.ConstraintViolationBuilder.ContainerElementNodeBuilderCustomizableContext
Represents a container element node whose context is
configurable (i.e.
|
ConstraintValidatorContext.ConstraintViolationBuilder.ContainerElementNodeBuilderDefinedContext
Represents a container element node whose context is known
(i.e.
|
ConstraintValidatorContext.ConstraintViolationBuilder.ContainerElementNodeContextBuilder
Represents refinement choices for a container element node.
|
ConstraintValidatorContext.ConstraintViolationBuilder.LeafNodeBuilderCustomizableContext
Represents a node whose context is
configurable (i.e.
|
ConstraintValidatorContext.ConstraintViolationBuilder.LeafNodeBuilderDefinedContext
Represents a node whose context is known
(i.e.
|
ConstraintValidatorContext.ConstraintViolationBuilder.LeafNodeContextBuilder
Represents refinement choices for a node which is
in an iterable, e.g.
|
ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderCustomizableContext
Represents a node whose context is
configurable (i.e.
|
ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderDefinedContext
Represents a node whose context is known
(i.e.
|
ConstraintValidatorContext.ConstraintViolationBuilder.NodeContextBuilder
Represents refinement choices for a node which is
in an iterable, e.g.
|
ConstraintValidatorFactory
Instantiates a
ConstraintValidator instance based off its class. |
ConstraintViolation
Describes a constraint violation.
|
ElementKind
Enum of possible kinds of elements encountered in Jakarta Bean Validation.
|
MessageInterpolator
Interpolates a given constraint violation message.
|
MessageInterpolator.Context
Information related to the interpolation context.
|
ParameterNameProvider
Provides names for method and constructor parameters.
|
Path
Represents the navigation path from an object to another
in an object graph.
|
Path.Node
Represents an element of a navigation path.
|
TraversableResolver
Contract determining if a property can be accessed by the Jakarta Bean Validation provider.
|
ValidationException
Base exception of all Jakarta Bean Validation "unexpected" problems.
|
Validator
Validates bean instances.
|
ValidatorContext
Represents the context that is used to create
Validator
instances. |
ValidatorFactory
Factory returning initialized
Validator instances. |
Class and Description |
---|
Configuration
Receives configuration information, selects the appropriate
Jakarta Bean Validation provider and builds the appropriate
ValidatorFactory . |
ValidationProviderResolver
Determines the list of Jakarta Bean Validation providers available in the runtime environment
|
Class and Description |
---|
Constraint
Marks an annotation as being a Jakarta Bean Validation constraint.
|
Class and Description |
---|
ConstraintViolation
Describes a constraint violation.
|
Class and Description |
---|
ConstraintTarget
Defines the constraint target.
|
ConstraintValidator
Defines the logic to validate a given constraint
A
for a given object type T . |
Payload
Payload type that can be attached to a given
constraint declaration.
|
Class and Description |
---|
ClockProvider
Contract for obtaining the
Clock used as the reference for now when
validating the @Future and @Past constraints. |
Configuration
Receives configuration information, selects the appropriate
Jakarta Bean Validation provider and builds the appropriate
ValidatorFactory . |
ConstraintValidatorFactory
Instantiates a
ConstraintValidator instance based off its class. |
MessageInterpolator
Interpolates a given constraint violation message.
|
ParameterNameProvider
Provides names for method and constructor parameters.
|
TraversableResolver
Contract determining if a property can be accessed by the Jakarta Bean Validation provider.
|
ValidationProviderResolver
Determines the list of Jakarta Bean Validation providers available in the runtime environment
|
ValidatorFactory
Factory returning initialized
Validator instances. |
Class and Description |
---|
Payload
Payload type that can be attached to a given
constraint declaration.
|
ValidationException
Base exception of all Jakarta Bean Validation "unexpected" problems.
|
Comments to: bean-validation-dev@eclipse.org.
Copyright © 2019,2020 Eclipse Foundation.
Use is subject to EFSL; this spec is based on material that is licensed under the Apache License, version 2.0.