A B C D E F G H I J K L M N O P R S T U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addBeanNode() - Method in interface jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder
-
Adds a bean node (class-level) to the path the
ConstraintViolation
will be associated to. - addBeanNode() - Method in interface jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.ContainerElementNodeBuilderCustomizableContext
-
Adds a bean node (class-level) to the path the
ConstraintViolation
will be associated to. - addBeanNode() - Method in interface jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.ContainerElementNodeBuilderDefinedContext
-
Adds a bean node (class-level) to the path the
ConstraintViolation
will be associated to. - addBeanNode() - Method in interface jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.ContainerElementNodeContextBuilder
-
Adds a bean node (class-level) to the path the
ConstraintViolation
will be associated to. - addBeanNode() - Method in interface jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderCustomizableContext
-
Adds a bean node (class-level) to the path the
ConstraintViolation
will be associated to. - addBeanNode() - Method in interface jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderDefinedContext
-
Adds a bean node (class-level) to the path the
ConstraintViolation
will be associated to. - addBeanNode() - Method in interface jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.NodeContextBuilder
-
Adds a bean node (class-level) to the path the
ConstraintViolation
will be associated to. - addConstraintViolation() - Method in interface jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder
-
Adds the new
ConstraintViolation
to be generated if the constraint validator marks the value as invalid. - addConstraintViolation() - Method in interface jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.ContainerElementNodeBuilderCustomizableContext
-
Adds the new
ConstraintViolation
to be generated if the constraint validator mark the value as invalid. - addConstraintViolation() - Method in interface jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.ContainerElementNodeBuilderDefinedContext
-
Adds the new
ConstraintViolation
to be generated if the constraint validator marks the value as invalid. - addConstraintViolation() - Method in interface jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.ContainerElementNodeContextBuilder
-
Adds the new
ConstraintViolation
to be generated if the constraint validator mark the value as invalid. - addConstraintViolation() - Method in interface jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.LeafNodeBuilderCustomizableContext
-
Adds the new
ConstraintViolation
to be generated if the constraint validator mark the value as invalid. - addConstraintViolation() - Method in interface jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.LeafNodeBuilderDefinedContext
-
Adds the new
ConstraintViolation
to be generated if the constraint validator marks the value as invalid. - addConstraintViolation() - Method in interface jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.LeafNodeContextBuilder
-
Adds the new
ConstraintViolation
to be generated if the constraint validator mark the value as invalid. - addConstraintViolation() - Method in interface jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderCustomizableContext
-
Adds the new
ConstraintViolation
to be generated if the constraint validator mark the value as invalid. - addConstraintViolation() - Method in interface jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderDefinedContext
-
Adds the new
ConstraintViolation
to be generated if the constraint validator marks the value as invalid. - addConstraintViolation() - Method in interface jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.NodeContextBuilder
-
Adds the new
ConstraintViolation
to be generated if the constraint validator mark the value as invalid. - addContainerElementNode(String, Class<?>, Integer) - Method in interface jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder
-
Adds a container element node to the path the
ConstraintViolation
will be associated to. - addContainerElementNode(String, Class<?>, Integer) - Method in interface jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.ContainerElementNodeBuilderCustomizableContext
-
Adds a container element node to the path the
ConstraintViolation
will be associated to. - addContainerElementNode(String, Class<?>, Integer) - Method in interface jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.ContainerElementNodeBuilderDefinedContext
-
Adds a container element node to the path the
ConstraintViolation
will be associated to. - addContainerElementNode(String, Class<?>, Integer) - Method in interface jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.ContainerElementNodeContextBuilder
-
Adds a container element node to the path the
ConstraintViolation
will be associated to. - addContainerElementNode(String, Class<?>, Integer) - Method in interface jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderCustomizableContext
-
Adds a container element node to the path the
ConstraintViolation
will be associated to. - addContainerElementNode(String, Class<?>, Integer) - Method in interface jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderDefinedContext
-
Adds a container element node to the path the
ConstraintViolation
will be associated to. - addContainerElementNode(String, Class<?>, Integer) - Method in interface jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.NodeContextBuilder
-
Adds a container element node to the path the
ConstraintViolation
will be associated to. - addMapping(InputStream) - Method in interface jakarta.validation.Configuration
-
Add a stream describing constraint mapping in the Jakarta Validation XML format.
- addNode(String) - Method in interface jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder
- addNode(String) - Method in interface jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderCustomizableContext
- addNode(String) - Method in interface jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderDefinedContext
- addNode(String) - Method in interface jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.NodeContextBuilder
- addParameterNode(int) - Method in interface jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder
-
Adds a method parameter node to the path the
ConstraintViolation
will be associated to. - addProperty(String, String) - Method in interface jakarta.validation.Configuration
-
Adds a provider specific property.
- addPropertyNode(String) - Method in interface jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder
-
Adds a property node to the path the
ConstraintViolation
will be associated to. - addPropertyNode(String) - Method in interface jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.ContainerElementNodeBuilderCustomizableContext
-
Adds a property node to the path the
ConstraintViolation
will be associated to. - addPropertyNode(String) - Method in interface jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.ContainerElementNodeBuilderDefinedContext
-
Adds a property node to the path the
ConstraintViolation
will be associated to. - addPropertyNode(String) - Method in interface jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.ContainerElementNodeContextBuilder
-
Adds a property node to the path the
ConstraintViolation
will be associated to. - addPropertyNode(String) - Method in interface jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderCustomizableContext
-
Adds a property node to the path the
ConstraintViolation
will be associated to. - addPropertyNode(String) - Method in interface jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderDefinedContext
-
Adds a property node to the path the
ConstraintViolation
will be associated to. - addPropertyNode(String) - Method in interface jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.NodeContextBuilder
-
Adds a property node to the path the
ConstraintViolation
will be associated to. - addValueExtractor(ValueExtractor<?>) - Method in interface jakarta.validation.Configuration
-
Adds a value extractor.
- addValueExtractor(ValueExtractor<?>) - Method in interface jakarta.validation.ValidatorContext
-
Adds a value extractor to be used by the
Validator
. - ALL - jakarta.validation.executable.ExecutableType
-
All executables (constructors and methods).
- ANNOTATED_ELEMENT - jakarta.validation.constraintvalidation.ValidationTarget
-
(Returned) element annotated by the constraint.
- as(Class<T>) - Method in interface jakarta.validation.Path.Node
-
Narrows the type of this node down to the given type.
- AssertFalse - Annotation Type in jakarta.validation.constraints
-
The annotated element must be false.
- AssertFalse.List - Annotation Type in jakarta.validation.constraints
-
Defines several
AssertFalse
annotations on the same element. - AssertTrue - Annotation Type in jakarta.validation.constraints
-
The annotated element must be true.
- AssertTrue.List - Annotation Type in jakarta.validation.constraints
-
Defines several
AssertTrue
annotations on the same element. - atIndex(Integer) - Method in interface jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.ContainerElementNodeContextBuilder
-
Defines the index the object is into the
List
or array. - atIndex(Integer) - Method in interface jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.LeafNodeContextBuilder
-
Defines the index the object is into the
List
or array - atIndex(Integer) - Method in interface jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.NodeContextBuilder
-
Defines the index the object is into the
List
or array. - atKey(Object) - Method in interface jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.ContainerElementNodeContextBuilder
-
Defines the key the object is into the
Map
. - atKey(Object) - Method in interface jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.LeafNodeContextBuilder
-
Defines the key the object is into the
Map
. - atKey(Object) - Method in interface jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.NodeContextBuilder
-
Defines the key the object is into the
Map
.
B
- BEAN - jakarta.validation.ElementKind
-
A Java Bean or object.
- BeanDescriptor - Interface in jakarta.validation.metadata
-
Describes a constrained Java Bean and the constraints associated to it.
- BootstrapConfiguration - Interface in jakarta.validation
-
Represents the user specified default configuration in
META-INF/validation.xml
. - BootstrapState - Interface in jakarta.validation.spi
-
Defines the state used to bootstrap the
Configuration
. - buildConstraintViolationWithTemplate(String) - Method in interface jakarta.validation.ConstraintValidatorContext
-
Returns a constraint violation builder building a violation report allowing to optionally associate it to a sub path.
- buildDefaultValidatorFactory() - Static method in class jakarta.validation.Validation
-
Builds and returns a
ValidatorFactory
instance based on the default Jakarta Validation provider and following the XML configuration. - buildValidatorFactory() - Method in interface jakarta.validation.Configuration
-
Build a
ValidatorFactory
implementation. - buildValidatorFactory(ConfigurationState) - Method in interface jakarta.validation.spi.ValidationProvider
-
Build a
ValidatorFactory
using the current provider implementation. - byDefaultProvider() - Static method in class jakarta.validation.Validation
-
Builds a
Configuration
. - byProvider(Class<U>) - Static method in class jakarta.validation.Validation
-
Builds a
Configuration
for a particular provider implementation.
C
- CANON_EQ - jakarta.validation.constraints.Pattern.Flag
-
Enables canonical equivalence.
- CascadableDescriptor - Interface in jakarta.validation.metadata
-
Represents a cascadable element.
- CASE_INSENSITIVE - jakarta.validation.constraints.Pattern.Flag
-
Enables case-insensitive matching.
- clockProvider(ClockProvider) - Method in interface jakarta.validation.Configuration
-
Defines the clock provider.
- clockProvider(ClockProvider) - Method in interface jakarta.validation.ValidatorContext
-
Defines the
ClockProvider
implementation used by theValidator
. - ClockProvider - Interface in jakarta.validation
-
Contract for obtaining the
Clock
used as the reference fornow
when validating the@Future
and@Past
constraints. - close() - Method in interface jakarta.validation.ValidatorFactory
-
Closes the
ValidatorFactory
instance. - COMMENTS - jakarta.validation.constraints.Pattern.Flag
-
Permits whitespace and comments in pattern.
- Configuration<T extends Configuration<T>> - Interface in jakarta.validation
-
Receives configuration information, selects the appropriate Jakarta Validation provider and builds the appropriate
ValidatorFactory
. - ConfigurationState - Interface in jakarta.validation.spi
- configure() - Method in interface jakarta.validation.bootstrap.GenericBootstrap
-
Returns a generic
Configuration
implementation. - configure() - Method in interface jakarta.validation.bootstrap.ProviderSpecificBootstrap
-
Determines the provider implementation suitable for
T
and delegates the creation of this specificConfiguration
subclass to the provider. - constraint() - Method in annotation type jakarta.validation.OverridesAttribute
- Constraint - Annotation Type in jakarta.validation
-
Marks an annotation as being a Jakarta Validation constraint.
- ConstraintDeclarationException - Exception in jakarta.validation
-
Exception raised if a constraint declaration is not legal.
- ConstraintDeclarationException() - Constructor for exception jakarta.validation.ConstraintDeclarationException
- ConstraintDeclarationException(String) - Constructor for exception jakarta.validation.ConstraintDeclarationException
- ConstraintDeclarationException(String, Throwable) - Constructor for exception jakarta.validation.ConstraintDeclarationException
- ConstraintDeclarationException(Throwable) - Constructor for exception jakarta.validation.ConstraintDeclarationException
- ConstraintDefinitionException - Exception in jakarta.validation
-
Exception raised if a constraint definition is not legal.
- ConstraintDefinitionException() - Constructor for exception jakarta.validation.ConstraintDefinitionException
- ConstraintDefinitionException(String) - Constructor for exception jakarta.validation.ConstraintDefinitionException
- ConstraintDefinitionException(String, Throwable) - Constructor for exception jakarta.validation.ConstraintDefinitionException
- ConstraintDefinitionException(Throwable) - Constructor for exception jakarta.validation.ConstraintDefinitionException
- ConstraintDescriptor<T extends java.lang.annotation.Annotation> - Interface in jakarta.validation.metadata
-
Describes a single constraint and its composing constraints.
- constraintIndex() - Method in annotation type jakarta.validation.OverridesAttribute
-
The index of the targeted constraint declaration when using multiple constraints of the same type.
- ConstraintTarget - Enum in jakarta.validation
-
Defines the constraint target.
- ConstraintValidator<A extends java.lang.annotation.Annotation,T> - Interface in jakarta.validation
-
Defines the logic to validate a given constraint
A
for a given object typeT
. - ConstraintValidatorContext - Interface in jakarta.validation
-
Provides contextual data and operation when applying a given constraint validator.
- ConstraintValidatorContext.ConstraintViolationBuilder - Interface in jakarta.validation
-
ConstraintViolation
builder allowing to optionally associate the violation report to a sub path. - ConstraintValidatorContext.ConstraintViolationBuilder.ContainerElementNodeBuilderCustomizableContext - Interface in jakarta.validation
-
Represents a container element node whose context is configurable (i.e.
- ConstraintValidatorContext.ConstraintViolationBuilder.ContainerElementNodeBuilderDefinedContext - Interface in jakarta.validation
-
Represents a container element node whose context is known (i.e.
- ConstraintValidatorContext.ConstraintViolationBuilder.ContainerElementNodeContextBuilder - Interface in jakarta.validation
-
Represents refinement choices for a container element node.
- ConstraintValidatorContext.ConstraintViolationBuilder.LeafNodeBuilderCustomizableContext - Interface in jakarta.validation
-
Represents a node whose context is configurable (i.e.
- ConstraintValidatorContext.ConstraintViolationBuilder.LeafNodeBuilderDefinedContext - Interface in jakarta.validation
-
Represents a node whose context is known (i.e.
- ConstraintValidatorContext.ConstraintViolationBuilder.LeafNodeContextBuilder - Interface in jakarta.validation
-
Represents refinement choices for a node which is in an iterable, e.g.
- ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderCustomizableContext - Interface in jakarta.validation
-
Represents a node whose context is configurable (i.e.
- ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderDefinedContext - Interface in jakarta.validation
-
Represents a node whose context is known (i.e.
- ConstraintValidatorContext.ConstraintViolationBuilder.NodeContextBuilder - Interface in jakarta.validation
-
Represents refinement choices for a node which is in an iterable, e.g.
- constraintValidatorFactory(ConstraintValidatorFactory) - Method in interface jakarta.validation.Configuration
-
Defines the constraint validator factory.
- constraintValidatorFactory(ConstraintValidatorFactory) - Method in interface jakarta.validation.ValidatorContext
-
Defines the constraint validator factory implementation used by the
Validator
. - ConstraintValidatorFactory - Interface in jakarta.validation
-
Instantiates a
ConstraintValidator
instance based off its class. - ConstraintViolation<T> - Interface in jakarta.validation
-
Describes a constraint violation.
- ConstraintViolationException - Exception in jakarta.validation
-
Reports the result of constraint violations.
- ConstraintViolationException(String, Set<? extends ConstraintViolation<?>>) - Constructor for exception jakarta.validation.ConstraintViolationException
-
Creates a constraint violation report.
- ConstraintViolationException(Set<? extends ConstraintViolation<?>>) - Constructor for exception jakarta.validation.ConstraintViolationException
-
Creates a constraint violation report.
- CONSTRUCTOR - jakarta.validation.ElementKind
-
A constructor.
- ConstructorDescriptor - Interface in jakarta.validation.metadata
-
Describes a validated constructor.
- CONSTRUCTORS - jakarta.validation.executable.ExecutableType
-
All constructors.
- CONTAINER_ELEMENT - jakarta.validation.ElementKind
-
An element stored in a container, e.g.
- ContainerDescriptor - Interface in jakarta.validation.metadata
-
Represents an element that might be a container, thus allowing container element constraints.
- ContainerElementTypeDescriptor - Interface in jakarta.validation.metadata
-
Describes a validated container element type, e.g.
- ConvertGroup - Annotation Type in jakarta.validation.groups
-
Converts group
from
to groupto
during cascading. - ConvertGroup.List - Annotation Type in jakarta.validation.groups
-
Defines several
ConvertGroup
annotations on the same element. - createGenericConfiguration(BootstrapState) - Method in interface jakarta.validation.spi.ValidationProvider
-
Returns a
Configuration
instance. - createSpecializedConfiguration(BootstrapState) - Method in interface jakarta.validation.spi.ValidationProvider
- CROSS_PARAMETER - jakarta.validation.ElementKind
-
Element holding cross-parameter constraints of a method or constructor.
- CrossParameterDescriptor - Interface in jakarta.validation.metadata
-
Describes an element holding cross-parameter constraints of a method or constructor
D
- DecimalMax - Annotation Type in jakarta.validation.constraints
-
The annotated element must be a number whose value must be lower or equal to the specified maximum.
- DecimalMax.List - Annotation Type in jakarta.validation.constraints
-
Defines several
DecimalMax
annotations on the same element. - DecimalMin - Annotation Type in jakarta.validation.constraints
-
The annotated element must be a number whose value must be higher or equal to the specified minimum.
- DecimalMin.List - Annotation Type in jakarta.validation.constraints
-
Defines several
DecimalMin
annotations on the same element. - declaredOn(ElementType...) - Method in interface jakarta.validation.metadata.ElementDescriptor.ConstraintFinder
-
Restricts to the constraints hosted on the listed
types
for a given element. - Default - Interface in jakarta.validation.groups
-
Default Jakarta Validation group.
- DEFAULT - jakarta.validation.metadata.ValidateUnwrappedValue
-
No specific unwrapping behavior has been defined for this constraint and the default behavior applies: if there is exactly one maximally-specific type-compliant
ValueExtractor
and this extractor is marked withUnwrapByDefault
, this extractor is applied and the constraint is applied to the value(s) wrapped by the annotated container. - Digits - Annotation Type in jakarta.validation.constraints
-
The annotated element must be a number within accepted range.
- Digits.List - Annotation Type in jakarta.validation.constraints
-
Defines several
Digits
annotations on the same element. - disableDefaultConstraintViolation() - Method in interface jakarta.validation.ConstraintValidatorContext
-
Disables the default
ConstraintViolation
object generation (which is using the message template declared on the constraint). - DOTALL - jakarta.validation.constraints.Pattern.Flag
-
Enables dotall mode.
E
- ElementDescriptor - Interface in jakarta.validation.metadata
-
Describes a validated element (class, property, method etc.).
- ElementDescriptor.ConstraintFinder - Interface in jakarta.validation.metadata
-
Declares restrictions on retrieved constraints.
- ElementKind - Enum in jakarta.validation
-
Enum of possible kinds of elements encountered in Jakarta Validation.
- Email - Annotation Type in jakarta.validation.constraints
-
The string has to be a well-formed email address.
- Email.List - Annotation Type in jakarta.validation.constraints
-
Defines several
@Email
constraints on the same element. - ExecutableDescriptor - Interface in jakarta.validation.metadata
-
Provides the common functionality of
MethodDescriptor
andConstructorDescriptor
. - ExecutableType - Enum in jakarta.validation.executable
-
Defines the types of executables targeted by an operation.
- ExecutableValidator - Interface in jakarta.validation.executable
-
Validates parameters and return values of methods and constructors.
- ExtractedValue - Annotation Type in jakarta.validation.valueextraction
-
Marks the type parameter of a generic container type to which a
ValueExtractor
is tied or specifies the type of the wrapped element(s) of non-generic container types. - extractValues(T, ValueExtractor.ValueReceiver) - Method in interface jakarta.validation.valueextraction.ValueExtractor
-
Extracts the values to validate from the original object.
F
- findConstraints() - Method in interface jakarta.validation.metadata.ElementDescriptor
-
Finds constraints and potentially restricts them to certain criteria.
- findConstraints() - Method in interface jakarta.validation.metadata.ExecutableDescriptor
-
Returns a finder that will always return an empty
Set
. - flags() - Method in annotation type jakarta.validation.constraints.Email
- flags() - Method in annotation type jakarta.validation.constraints.Pattern
- forExecutables() - Method in interface jakarta.validation.Validator
-
Returns the contract for validating parameters and return values of methods and constructors.
- fraction() - Method in annotation type jakarta.validation.constraints.Digits
- from() - Method in annotation type jakarta.validation.groups.ConvertGroup
-
The source group of this conversion.
- Future - Annotation Type in jakarta.validation.constraints
-
The annotated element must be an instant, date or time in the future.
- Future.List - Annotation Type in jakarta.validation.constraints
-
Defines several
Future
annotations on the same element. - FutureOrPresent - Annotation Type in jakarta.validation.constraints
-
The annotated element must be an instant, date or time in the present or in the future.
- FutureOrPresent.List - Annotation Type in jakarta.validation.constraints
-
Defines several
FutureOrPresent
annotations on the same element.
G
- GenericBootstrap - Interface in jakarta.validation.bootstrap
-
Defines the state used to bootstrap Jakarta Validation and creates a provider agnostic
Configuration
. - getAnnotation() - Method in interface jakarta.validation.metadata.ConstraintDescriptor
-
Returns the annotation describing the constraint declaration.
- getAttributes() - Method in interface jakarta.validation.metadata.ConstraintDescriptor
-
Returns a map containing the annotation attribute names as keys and the annotation attribute values as value.
- getBootstrapConfiguration() - Method in interface jakarta.validation.Configuration
-
Returns configuration information stored in the
META-INF/validation.xml
file. - getClock() - Method in interface jakarta.validation.ClockProvider
-
Returns the clock which serves as the reference for
now
. - getClockProvider() - Method in interface jakarta.validation.ConstraintValidatorContext
-
Returns the provider for obtaining the current time in the form of a
Clock
, e.g. - getClockProvider() - Method in interface jakarta.validation.spi.ConfigurationState
-
Returns the clock provider for this configuration.
- getClockProvider() - Method in interface jakarta.validation.ValidatorFactory
-
Returns the
ClockProvider
instance configured at initialization time for theValidatorFactory
. - getClockProviderClassName() - Method in interface jakarta.validation.BootstrapConfiguration
-
Class name of the
ClockProvider
implementation ornull
if none is specified. - getComposingConstraints() - Method in interface jakarta.validation.metadata.ConstraintDescriptor
-
Return a set of composing
ConstraintDescriptor
s where each descriptor describes a composing constraint. - getConstrainedConstructors() - Method in interface jakarta.validation.metadata.BeanDescriptor
-
Returns a set with descriptors for the constrained constructors of the bean represented by this descriptor.
- getConstrainedContainerElementTypes() - Method in interface jakarta.validation.metadata.ContainerDescriptor
-
If this element is of a container type, e.g.
- getConstrainedMethods(MethodType, MethodType...) - Method in interface jakarta.validation.metadata.BeanDescriptor
-
Returns a set with descriptors for the constrained methods of the bean represented by this descriptor.
- getConstrainedProperties() - Method in interface jakarta.validation.metadata.BeanDescriptor
-
Returns a set of property descriptors having at least one constraint defined or marked as cascaded (
Valid
). - getConstraintDescriptor() - Method in interface jakarta.validation.ConstraintViolation
-
Returns the constraint metadata reported to fail.
- getConstraintDescriptor() - Method in interface jakarta.validation.MessageInterpolator.Context
- getConstraintDescriptors() - Method in interface jakarta.validation.metadata.ElementDescriptor.ConstraintFinder
-
Retrieves the constraint descriptors following the defined restrictions and hosted on the element described by
ElementDescriptor
. - getConstraintDescriptors() - Method in interface jakarta.validation.metadata.ElementDescriptor
-
Returns all constraint descriptors for this element in the class hierarchy or an empty
Set
if none are present. - getConstraintDescriptors() - Method in interface jakarta.validation.metadata.ExecutableDescriptor
-
Returns an empty
Set
. - getConstraintMappingResourcePaths() - Method in interface jakarta.validation.BootstrapConfiguration
-
Returns a set of resource paths pointing to XML constraint mapping files.
- getConstraintsForClass(Class<?>) - Method in interface jakarta.validation.Validator
-
Returns the descriptor object describing bean constraints.
- getConstraintsForConstructor(Class<?>...) - Method in interface jakarta.validation.metadata.BeanDescriptor
-
Returns a constructor descriptor for the given constructor.
- getConstraintsForMethod(String, Class<?>...) - Method in interface jakarta.validation.metadata.BeanDescriptor
-
Returns a method descriptor for the given method.
- getConstraintsForProperty(String) - Method in interface jakarta.validation.metadata.BeanDescriptor
-
Returns the property descriptor for a given property.
- getConstraintValidatorClasses() - Method in interface jakarta.validation.metadata.ConstraintDescriptor
-
List of the constraint validation implementation classes.
- getConstraintValidatorFactory() - Method in interface jakarta.validation.spi.ConfigurationState
-
Returns the constraint validator factory of this configuration.
- getConstraintValidatorFactory() - Method in interface jakarta.validation.ValidatorFactory
-
Returns the
ConstraintValidatorFactory
instance configured at initialization time for theValidatorFactory
. - getConstraintValidatorFactoryClassName() - Method in interface jakarta.validation.BootstrapConfiguration
-
Class name of the
ConstraintValidatorFactory
implementation ornull
if none is specified. - getConstraintViolations() - Method in exception jakarta.validation.ConstraintViolationException
-
Returns the set of constraint violations reported during a validation.
- getContainerClass() - Method in interface jakarta.validation.metadata.ContainerElementTypeDescriptor
-
Returns the container class hosting this container element type.
- getContainerClass() - Method in interface jakarta.validation.Path.BeanNode
- getContainerClass() - Method in interface jakarta.validation.Path.ContainerElementNode
- getContainerClass() - Method in interface jakarta.validation.Path.PropertyNode
- getCrossParameterDescriptor() - Method in interface jakarta.validation.metadata.ExecutableDescriptor
-
Returns a descriptor containing the cross-parameter constraints of this executable.
- getDefaultClockProvider() - Method in interface jakarta.validation.Configuration
-
Returns an implementation of the
ClockProvider
interface following the defaultClockProvider
defined in the specification: returns a clock representing the current system time and default time zone. - getDefaultConstraintMessageTemplate() - Method in interface jakarta.validation.ConstraintValidatorContext
- getDefaultConstraintValidatorFactory() - Method in interface jakarta.validation.Configuration
-
Returns an implementation of the
ConstraintValidatorFactory
interface following the defaultConstraintValidatorFactory
defined in the specification: uses the public no-arg constructor of theConstraintValidator
- getDefaultMessageInterpolator() - Method in interface jakarta.validation.Configuration
-
Returns an implementation of the
MessageInterpolator
interface following the defaultMessageInterpolator
defined in the specification: use theValidationMessages
resource bundle to load keys useLocale.getDefault()
- getDefaultParameterNameProvider() - Method in interface jakarta.validation.Configuration
-
Returns an implementation of the
ParameterNameProvider
interface following the defaultParameterNameProvider
defined in the specification: returns the actual parameter names as provided in the validated executable’s definition, if the class file of the executable contains parameter name information otherwise returns names in the formarg<PARAMETER_INDEX>
, wherePARAMETER_INDEX
starts at 0 for the first parameter, e.g. - getDefaultProviderClassName() - Method in interface jakarta.validation.BootstrapConfiguration
-
Class name of the
ValidationProvider
implementation ornull
if none is specified. - getDefaultTraversableResolver() - Method in interface jakarta.validation.Configuration
-
Returns an implementation of the
TraversableResolver
interface following the defaultTraversableResolver
defined in the specification: if Java Persistence is available in the runtime environment, a property is considered reachable if Java Persistence considers the property as loaded if Java Persistence is not available in the runtime environment, all properties are considered reachable all properties are considered cascadable. - getDefaultValidatedExecutableTypes() - Method in interface jakarta.validation.BootstrapConfiguration
-
Returns the set of executable types that should be considered unless explicitly overridden via
ValidateOnExecution
. - getDefaultValidationProviderResolver() - Method in interface jakarta.validation.spi.BootstrapState
-
Specification default
ValidationProviderResolver
strategy instance. - getElementClass() - Method in interface jakarta.validation.metadata.CrossParameterDescriptor
- getElementClass() - Method in interface jakarta.validation.metadata.ElementDescriptor
- getExecutableParameters() - Method in interface jakarta.validation.ConstraintViolation
-
Returns an
Object[]
representing the constructor or method invocation arguments if theConstraintViolation
is returned after validating the method or constructor parameters. - getExecutableReturnValue() - Method in interface jakarta.validation.ConstraintViolation
-
Returns the return value of the constructor or method invocation if the
ConstraintViolation
is returned after validating the method or constructor return value. - getFrom() - Method in interface jakarta.validation.metadata.GroupConversionDescriptor
-
Returns the source group of this conversion rule.
- getGroupConversions() - Method in interface jakarta.validation.metadata.CascadableDescriptor
-
Returns the group conversions configured for this element.
- getGroups() - Method in interface jakarta.validation.metadata.ConstraintDescriptor
-
The set of groups the constraint is applied on.
- getIndex() - Method in interface jakarta.validation.metadata.ParameterDescriptor
-
Returns this parameter's index within the parameter array of the method or constructor holding it.
- getIndex() - Method in interface jakarta.validation.Path.Node
- getInstance(Class<T>) - Method in interface jakarta.validation.ConstraintValidatorFactory
- getInvalidValue() - Method in interface jakarta.validation.ConstraintViolation
-
Returns the value failing to pass the constraint.
- getKey() - Method in interface jakarta.validation.Path.Node
- getKind() - Method in interface jakarta.validation.Path.Node
-
The kind of element represented by the node.
- getLeafBean() - Method in interface jakarta.validation.ConstraintViolation
-
Returns: the bean instance the constraint is applied on if it is a bean constraint the bean instance hosting the property the constraint is applied on if it is a property constraint or a container element constraint hosted on a property
null
when theConstraintViolation
is returned after callingValidator.validateValue(Class, String, Object, Class[])
the object the method is executed on if it is a method parameter, cross-parameter or return value constraint or a container element constraint hosted on a method parameter or return valuenull
if it is a constructor parameter or cross-parameter constraint or a container element constraint hosted on a constructor parameter the object the constructor has created if it is a constructor return value constraint - getMappingStreams() - Method in interface jakarta.validation.spi.ConfigurationState
-
Returns a set of configuration streams.
- getMessage() - Method in interface jakarta.validation.ConstraintViolation
- getMessageInterpolator() - Method in interface jakarta.validation.spi.ConfigurationState
-
Returns the message interpolator of this configuration.
- getMessageInterpolator() - Method in interface jakarta.validation.ValidatorFactory
-
Returns the
MessageInterpolator
instance configured at initialization time for theValidatorFactory
. - getMessageInterpolatorClassName() - Method in interface jakarta.validation.BootstrapConfiguration
-
Class name of the
MessageInterpolator
implementation ornull
if none is specified. - getMessageTemplate() - Method in interface jakarta.validation.ConstraintViolation
- getMessageTemplate() - Method in interface jakarta.validation.metadata.ConstraintDescriptor
-
The non-interpolated error message
- getName() - Method in interface jakarta.validation.metadata.ExecutableDescriptor
-
Returns the method name in case this descriptor represents a method or the non-qualified name of the declaring class in case this descriptor represents a constructor.
- getName() - Method in interface jakarta.validation.metadata.ParameterDescriptor
-
Returns this parameter's name as retrieved by the current parameter name resolver.
- getName() - Method in interface jakarta.validation.Path.Node
-
Returns the name of the element which the node represents:
null
if it is a leaf node which represents an entity / bean. - getParameterDescriptors() - Method in interface jakarta.validation.metadata.ExecutableDescriptor
-
Returns a list of descriptors representing this executable's parameters, in the order of their declaration, including synthetic parameters.
- getParameterIndex() - Method in interface jakarta.validation.Path.ParameterNode
- getParameterNameProvider() - Method in interface jakarta.validation.spi.ConfigurationState
-
Returns the parameter name provider for this configuration.
- getParameterNameProvider() - Method in interface jakarta.validation.ValidatorFactory
-
Returns the
ParameterNameProvider
instance configured at initialization time for theValidatorFactory
. - getParameterNameProviderClassName() - Method in interface jakarta.validation.BootstrapConfiguration
-
Class name of the
ParameterNameProvider
implementation ornull
if none is specified. - getParameterNames(Constructor<?>) - Method in interface jakarta.validation.ParameterNameProvider
-
Returns the names of the parameters of the given constructor.
- getParameterNames(Method) - Method in interface jakarta.validation.ParameterNameProvider
-
Returns the names of the parameters of the given method.
- getParameterTypes() - Method in interface jakarta.validation.Path.ConstructorNode
- getParameterTypes() - Method in interface jakarta.validation.Path.MethodNode
- getPayload() - Method in interface jakarta.validation.metadata.ConstraintDescriptor
-
The set of payload the constraint hosts.
- getProperties() - Method in interface jakarta.validation.BootstrapConfiguration
-
Returns properties as a map of string based key/value pairs.
- getProperties() - Method in interface jakarta.validation.spi.ConfigurationState
-
Returns a map of non type-safe custom properties.
- getPropertyName() - Method in interface jakarta.validation.metadata.PropertyDescriptor
-
Name of the property according to the Java Bean specification.
- getPropertyPath() - Method in interface jakarta.validation.ConstraintViolation
- getReturnValueDescriptor() - Method in interface jakarta.validation.metadata.ExecutableDescriptor
-
Returns a descriptor for this executable's return value.
- getRootBean() - Method in interface jakarta.validation.ConstraintViolation
-
Returns the root bean being validated.
- getRootBeanClass() - Method in interface jakarta.validation.ConstraintViolation
-
Returns the class of the root bean being validated.
- GETTER - jakarta.validation.metadata.MethodType
-
A method following the getter pattern.
- GETTER_METHODS - jakarta.validation.executable.ExecutableType
-
All methods following the getter pattern.
- getTo() - Method in interface jakarta.validation.metadata.GroupConversionDescriptor
-
Returns the target group of this conversion rule.
- getTraversableResolver() - Method in interface jakarta.validation.spi.ConfigurationState
-
Returns the traversable resolver for this configuration.
- getTraversableResolver() - Method in interface jakarta.validation.ValidatorFactory
-
Returns the
TraversableResolver
instance configured at initialization time for theValidatorFactory
. - getTraversableResolverClassName() - Method in interface jakarta.validation.BootstrapConfiguration
-
Class name of the
TraversableResolver
implementation ornull
if none is specified. - getTypeArgumentIndex() - Method in interface jakarta.validation.metadata.ContainerElementTypeDescriptor
-
Returns the index of the type argument corresponding to this container element type.
- getTypeArgumentIndex() - Method in interface jakarta.validation.Path.BeanNode
- getTypeArgumentIndex() - Method in interface jakarta.validation.Path.ContainerElementNode
- getTypeArgumentIndex() - Method in interface jakarta.validation.Path.PropertyNode
- getValidatedValue() - Method in interface jakarta.validation.MessageInterpolator.Context
- getValidationAppliesTo() - Method in interface jakarta.validation.metadata.ConstraintDescriptor
- getValidationProviderResolver() - Method in interface jakarta.validation.spi.BootstrapState
-
User defined
ValidationProviderResolver
strategy instance ornull
if undefined. - getValidationProviders() - Method in interface jakarta.validation.ValidationProviderResolver
-
Returns a list of
ValidationProvider
available in the runtime environment. - getValidator() - Method in interface jakarta.validation.ValidatorContext
-
Returns an initialized
Validator
instance respecting the defined state. - getValidator() - Method in interface jakarta.validation.ValidatorFactory
-
Returns an initialized
Validator
instance using the factory defaults for message interpolator, traversable resolver and constraint validator factory. - getValue() - Method in enum jakarta.validation.constraints.Pattern.Flag
- getValueExtractorClassNames() - Method in interface jakarta.validation.BootstrapConfiguration
-
Returns the class names of
ValueExtractor
s. - getValueExtractors() - Method in interface jakarta.validation.spi.ConfigurationState
-
Returns a set of value extractors.
- getValueUnwrapping() - Method in interface jakarta.validation.metadata.ConstraintDescriptor
- GroupConversionDescriptor - Interface in jakarta.validation.metadata
-
A group conversion rule to be applied during cascaded validation.
- GroupDefinitionException - Exception in jakarta.validation
-
Exception raised if a group definition is not legal.
- GroupDefinitionException() - Constructor for exception jakarta.validation.GroupDefinitionException
- GroupDefinitionException(String) - Constructor for exception jakarta.validation.GroupDefinitionException
- GroupDefinitionException(String, Throwable) - Constructor for exception jakarta.validation.GroupDefinitionException
- GroupDefinitionException(Throwable) - Constructor for exception jakarta.validation.GroupDefinitionException
- groups() - Method in annotation type jakarta.validation.constraints.AssertFalse
- groups() - Method in annotation type jakarta.validation.constraints.AssertTrue
- groups() - Method in annotation type jakarta.validation.constraints.DecimalMax
- groups() - Method in annotation type jakarta.validation.constraints.DecimalMin
- groups() - Method in annotation type jakarta.validation.constraints.Digits
- groups() - Method in annotation type jakarta.validation.constraints.Email
- groups() - Method in annotation type jakarta.validation.constraints.Future
- groups() - Method in annotation type jakarta.validation.constraints.FutureOrPresent
- groups() - Method in annotation type jakarta.validation.constraints.Max
- groups() - Method in annotation type jakarta.validation.constraints.Min
- groups() - Method in annotation type jakarta.validation.constraints.Negative
- groups() - Method in annotation type jakarta.validation.constraints.NegativeOrZero
- groups() - Method in annotation type jakarta.validation.constraints.NotBlank
- groups() - Method in annotation type jakarta.validation.constraints.NotEmpty
- groups() - Method in annotation type jakarta.validation.constraints.NotNull
- groups() - Method in annotation type jakarta.validation.constraints.Null
- groups() - Method in annotation type jakarta.validation.constraints.Past
- groups() - Method in annotation type jakarta.validation.constraints.PastOrPresent
- groups() - Method in annotation type jakarta.validation.constraints.Pattern
- groups() - Method in annotation type jakarta.validation.constraints.Positive
- groups() - Method in annotation type jakarta.validation.constraints.PositiveOrZero
- groups() - Method in annotation type jakarta.validation.constraints.Size
- GroupSequence - Annotation Type in jakarta.validation
-
Defines group sequence.
H
- hasConstrainedParameters() - Method in interface jakarta.validation.metadata.ExecutableDescriptor
-
Returns
true
if the executable parameters are constrained either: because of a constraint on at least one of the parameters because of a cascade on at least one of the parameters (viaValid
) because of at least one cross-parameter constraint - hasConstrainedReturnValue() - Method in interface jakarta.validation.metadata.ExecutableDescriptor
-
Returns
true
if the executable return value is constrained either: because of a constraint on the return value because validation is cascaded on the return value (viaValid
) - hasConstraints() - Method in interface jakarta.validation.metadata.ElementDescriptor.ConstraintFinder
-
Returns
true
if at least one constraint declaration matching the restrictions is present on the element,false
otherwise. - hasConstraints() - Method in interface jakarta.validation.metadata.ElementDescriptor
- hasConstraints() - Method in interface jakarta.validation.metadata.ExecutableDescriptor
-
Returns
false
. - HIERARCHY - jakarta.validation.metadata.Scope
-
Look for constraints declared on all elements of the class hierarchy with the same name.
I
- ignoreXmlConfiguration() - Method in interface jakarta.validation.Configuration
-
Ignores data from the
META-INF/validation.xml
file if this method is called. - IMPLICIT - jakarta.validation.ConstraintTarget
-
Discover the type when no ambiguity is present if neither on a method nor a constructor, it implies the annotated element (type, field etc), if on a method or constructor with no parameter, it implies
RETURN_VALUE
, if on a method with no return value (void
), it impliesPARAMETERS
. Otherwise,IMPLICIT
is not accepted and eitherRETURN_VALUE
orPARAMETERS
is required. - IMPLICIT - jakarta.validation.executable.ExecutableType
-
If the annotation using
ExecutableType
is on a type (class or interface), the behavior is equivalent to the annotation not being present. - inclusive() - Method in annotation type jakarta.validation.constraints.DecimalMax
-
Specifies whether the specified maximum is inclusive or exclusive.
- inclusive() - Method in annotation type jakarta.validation.constraints.DecimalMin
-
Specifies whether the specified minimum is inclusive or exclusive.
- inContainer(Class<?>, Integer) - Method in interface jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.LeafNodeBuilderCustomizableContext
-
Marks the node as being in a container such as a
List
,Map
orOptional
. - inContainer(Class<?>, Integer) - Method in interface jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderCustomizableContext
-
Marks the node as being in a container such as a
List
,Map
orOptional
. - indexedValue(String, int, Object) - Method in interface jakarta.validation.valueextraction.ValueExtractor.ValueReceiver
-
Receives the value extracted from an indexed object (e.g.
- inIterable() - Method in interface jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.ContainerElementNodeBuilderCustomizableContext
-
Marks the node as being in an iterable, e.g.
- inIterable() - Method in interface jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.LeafNodeBuilderCustomizableContext
-
Marks the node as being in an iterable, e.g.
- inIterable() - Method in interface jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderCustomizableContext
-
Marks the node as being in an iterable, e.g.
- initialize(A) - Method in interface jakarta.validation.ConstraintValidator
-
Initializes the validator in preparation for
ConstraintValidator.isValid(Object, ConstraintValidatorContext)
calls. - integer() - Method in annotation type jakarta.validation.constraints.Digits
- interpolate(String, MessageInterpolator.Context) - Method in interface jakarta.validation.MessageInterpolator
-
Interpolates the message template based on the constraint validation context.
- interpolate(String, MessageInterpolator.Context, Locale) - Method in interface jakarta.validation.MessageInterpolator
-
Interpolates the message template based on the constraint validation context.
- isBeanConstrained() - Method in interface jakarta.validation.metadata.BeanDescriptor
-
Returns
true
if the bean involves validation: a constraint is hosted on the bean itself a constraint is hosted on one of the bean properties or a bean property is marked for cascaded validation (Valid
) - isCascadable(Object, Path.Node, Class<?>, Path, ElementType) - Method in interface jakarta.validation.TraversableResolver
-
Determines if the Jakarta Validation provider is allowed to cascade validation on the bean instance returned by the property value marked as
@Valid
. - isCascaded() - Method in interface jakarta.validation.metadata.CascadableDescriptor
-
Whether this element is marked for cascaded validation or not.
- isExecutableValidationEnabled() - Method in interface jakarta.validation.BootstrapConfiguration
-
Returns true if the validation execution is explicitly marked as enabled or if it is left undefined.
- isIgnoreXmlConfiguration() - Method in interface jakarta.validation.spi.ConfigurationState
-
Returns
true
ifConfiguration.ignoreXmlConfiguration()
has been called. - isInIterable() - Method in interface jakarta.validation.Path.Node
- isReachable(Object, Path.Node, Class<?>, Path, ElementType) - Method in interface jakarta.validation.TraversableResolver
-
Determines if the Jakarta Validation provider is allowed to reach the property state.
- isReportAsSingleViolation() - Method in interface jakarta.validation.metadata.ConstraintDescriptor
- isValid(T, ConstraintValidatorContext) - Method in interface jakarta.validation.ConstraintValidator
-
Implements the validation logic.
- iterableValue(String, Object) - Method in interface jakarta.validation.valueextraction.ValueExtractor.ValueReceiver
-
Receives the value extracted from an iterable object that is not indexed (e.g.
J
- jakarta.validation - package jakarta.validation
-
Top level package of the Jakarta Validation API.
- jakarta.validation.bootstrap - package jakarta.validation.bootstrap
-
Package containing bootstrap specific objects.
- jakarta.validation.constraints - package jakarta.validation.constraints
-
Contains all the Jakarta Validation provided constraints also called built-in constraints.
- jakarta.validation.constraintvalidation - package jakarta.validation.constraintvalidation
-
Package containing constructs specific to constraint validators.
- jakarta.validation.executable - package jakarta.validation.executable
-
Package related to the control and execution of executable validation.
- jakarta.validation.groups - package jakarta.validation.groups
-
A group defines a subset of constraints.
- jakarta.validation.metadata - package jakarta.validation.metadata
-
Package containing all objects specifically used and returned by the metadata API.
- jakarta.validation.spi - package jakarta.validation.spi
-
Package containing objects specific to the interaction between the Jakarta Validation bootstrapping process and Jakarta Validation providers.
- jakarta.validation.valueextraction - package jakarta.validation.valueextraction
-
Package containing objects dedicated to extract values to validate from containers.
K
- keyedValue(String, Object, Object) - Method in interface jakarta.validation.valueextraction.ValueExtractor.ValueReceiver
-
Receives the value extracted from a keyed object (e.g.
L
- LOCAL_ELEMENT - jakarta.validation.metadata.Scope
-
Look for constraints declared on the current class element and ignore inheritance and elements with the same name in the class hierarchy.
- lookingAt(Scope) - Method in interface jakarta.validation.metadata.ElementDescriptor.ConstraintFinder
-
Restricts to the constraints matching the provided scope for this element.
M
- max() - Method in annotation type jakarta.validation.constraints.Size
- Max - Annotation Type in jakarta.validation.constraints
-
The annotated element must be a number whose value must be lower or equal to the specified maximum.
- Max.List - Annotation Type in jakarta.validation.constraints
-
Defines several
Max
annotations on the same element. - message() - Method in annotation type jakarta.validation.constraints.AssertFalse
- message() - Method in annotation type jakarta.validation.constraints.AssertTrue
- message() - Method in annotation type jakarta.validation.constraints.DecimalMax
- message() - Method in annotation type jakarta.validation.constraints.DecimalMin
- message() - Method in annotation type jakarta.validation.constraints.Digits
- message() - Method in annotation type jakarta.validation.constraints.Email
- message() - Method in annotation type jakarta.validation.constraints.Future
- message() - Method in annotation type jakarta.validation.constraints.FutureOrPresent
- message() - Method in annotation type jakarta.validation.constraints.Max
- message() - Method in annotation type jakarta.validation.constraints.Min
- message() - Method in annotation type jakarta.validation.constraints.Negative
- message() - Method in annotation type jakarta.validation.constraints.NegativeOrZero
- message() - Method in annotation type jakarta.validation.constraints.NotBlank
- message() - Method in annotation type jakarta.validation.constraints.NotEmpty
- message() - Method in annotation type jakarta.validation.constraints.NotNull
- message() - Method in annotation type jakarta.validation.constraints.Null
- message() - Method in annotation type jakarta.validation.constraints.Past
- message() - Method in annotation type jakarta.validation.constraints.PastOrPresent
- message() - Method in annotation type jakarta.validation.constraints.Pattern
- message() - Method in annotation type jakarta.validation.constraints.Positive
- message() - Method in annotation type jakarta.validation.constraints.PositiveOrZero
- message() - Method in annotation type jakarta.validation.constraints.Size
- messageInterpolator(MessageInterpolator) - Method in interface jakarta.validation.Configuration
-
Defines the message interpolator used.
- messageInterpolator(MessageInterpolator) - Method in interface jakarta.validation.ValidatorContext
-
Defines the message interpolator implementation used by the
Validator
. - MessageInterpolator - Interface in jakarta.validation
-
Interpolates a given constraint violation message.
- MessageInterpolator.Context - Interface in jakarta.validation
-
Information related to the interpolation context.
- METHOD - jakarta.validation.ElementKind
-
A method.
- MethodDescriptor - Interface in jakarta.validation.metadata
-
Describes a validated method.
- MethodType - Enum in jakarta.validation.metadata
-
Represents the type of a method: getter or non getter.
- min() - Method in annotation type jakarta.validation.constraints.Size
- Min - Annotation Type in jakarta.validation.constraints
-
The annotated element must be a number whose value must be higher or equal to the specified minimum.
- Min.List - Annotation Type in jakarta.validation.constraints
-
Defines several
Min
annotations on the same element. - MULTILINE - jakarta.validation.constraints.Pattern.Flag
-
Enables multiline mode.
N
- name() - Method in annotation type jakarta.validation.OverridesAttribute
-
Name of the Constraint attribute overridden.
- Negative - Annotation Type in jakarta.validation.constraints
-
The annotated element must be a strictly negative number (i.e.
- Negative.List - Annotation Type in jakarta.validation.constraints
-
Defines several
Negative
constraints on the same element. - NegativeOrZero - Annotation Type in jakarta.validation.constraints
-
The annotated element must be a negative number or 0.
- NegativeOrZero.List - Annotation Type in jakarta.validation.constraints
-
Defines several
NegativeOrZero
constraints on the same element. - NON_GETTER - jakarta.validation.metadata.MethodType
-
A method that does not follow the getter pattern.
- NON_GETTER_METHODS - jakarta.validation.executable.ExecutableType
-
All methods except the ones following the getter pattern.
- NONE - jakarta.validation.executable.ExecutableType
-
None of the executables.
- NoProviderFoundException - Exception in jakarta.validation
-
Exception raised if no Jakarta Validation provider could be found.
- NoProviderFoundException() - Constructor for exception jakarta.validation.NoProviderFoundException
- NoProviderFoundException(String) - Constructor for exception jakarta.validation.NoProviderFoundException
- NoProviderFoundException(String, Throwable) - Constructor for exception jakarta.validation.NoProviderFoundException
- NoProviderFoundException(Throwable) - Constructor for exception jakarta.validation.NoProviderFoundException
- NotBlank - Annotation Type in jakarta.validation.constraints
-
The annotated element must not be
null
and must contain at least one non-whitespace character. - NotBlank.List - Annotation Type in jakarta.validation.constraints
-
Defines several
@NotBlank
constraints on the same element. - NotEmpty - Annotation Type in jakarta.validation.constraints
-
The annotated element must not be
null
nor empty. - NotEmpty.List - Annotation Type in jakarta.validation.constraints
-
Defines several
@NotEmpty
constraints on the same element. - NotNull - Annotation Type in jakarta.validation.constraints
-
The annotated element must not be
null
. - NotNull.List - Annotation Type in jakarta.validation.constraints
-
Defines several
NotNull
annotations on the same element. - Null - Annotation Type in jakarta.validation.constraints
-
The annotated element must be
null
. - Null.List - Annotation Type in jakarta.validation.constraints
-
Defines several
Null
annotations on the same element.
O
- OverridesAttribute - Annotation Type in jakarta.validation
-
Marks an attribute as overriding the attribute of a composing constraint.
- OverridesAttribute.List - Annotation Type in jakarta.validation
-
Defines several
OverridesAttribute
annotations on the same element
P
- PARAMETER - jakarta.validation.ElementKind
-
A parameter of a method or constructor.
- ParameterDescriptor - Interface in jakarta.validation.metadata
-
Describes a validated method or constructor parameter.
- parameterNameProvider(ParameterNameProvider) - Method in interface jakarta.validation.Configuration
-
Defines the parameter name provider.
- parameterNameProvider(ParameterNameProvider) - Method in interface jakarta.validation.ValidatorContext
-
Defines the parameter name provider implementation used by the
Validator
. - ParameterNameProvider - Interface in jakarta.validation
-
Provides names for method and constructor parameters.
- PARAMETERS - jakarta.validation.ConstraintTarget
-
Constraint applies to the parameters of a method or a constructor
- PARAMETERS - jakarta.validation.constraintvalidation.ValidationTarget
-
Array of parameters of the annotated method or constructor (aka cross-parameter).
- Past - Annotation Type in jakarta.validation.constraints
-
The annotated element must be an instant, date or time in the past.
- Past.List - Annotation Type in jakarta.validation.constraints
-
Defines several
Past
annotations on the same element. - PastOrPresent - Annotation Type in jakarta.validation.constraints
-
The annotated element must be an instant, date or time in the past or in the present.
- PastOrPresent.List - Annotation Type in jakarta.validation.constraints
-
Defines several
PastOrPresent
annotations on the same element. - Path - Interface in jakarta.validation
-
Represents the navigation path from an object to another in an object graph.
- Path.BeanNode - Interface in jakarta.validation
-
Node representing a bean.
- Path.ConstructorNode - Interface in jakarta.validation
-
Node representing a constructor.
- Path.ContainerElementNode - Interface in jakarta.validation
-
Node representing an element in a generic container such as
Optional
,List
orMap
. - Path.CrossParameterNode - Interface in jakarta.validation
-
Node representing the element holding cross-parameter constraints of a method or constructor.
- Path.MethodNode - Interface in jakarta.validation
-
Node representing a method.
- Path.Node - Interface in jakarta.validation
-
Represents an element of a navigation path.
- Path.ParameterNode - Interface in jakarta.validation
-
Node representing a parameter of a method or constructor.
- Path.PropertyNode - Interface in jakarta.validation
-
Node representing a property.
- Path.ReturnValueNode - Interface in jakarta.validation
-
Node representing the return value of a method or constructor.
- Pattern - Annotation Type in jakarta.validation.constraints
-
The annotated
CharSequence
must match the specified regular expression. - Pattern.Flag - Enum in jakarta.validation.constraints
-
Possible Regexp flags.
- Pattern.List - Annotation Type in jakarta.validation.constraints
-
Defines several
Pattern
annotations on the same element. - payload() - Method in annotation type jakarta.validation.constraints.AssertFalse
- payload() - Method in annotation type jakarta.validation.constraints.AssertTrue
- payload() - Method in annotation type jakarta.validation.constraints.DecimalMax
- payload() - Method in annotation type jakarta.validation.constraints.DecimalMin
- payload() - Method in annotation type jakarta.validation.constraints.Digits
- payload() - Method in annotation type jakarta.validation.constraints.Email
- payload() - Method in annotation type jakarta.validation.constraints.Future
- payload() - Method in annotation type jakarta.validation.constraints.FutureOrPresent
- payload() - Method in annotation type jakarta.validation.constraints.Max
- payload() - Method in annotation type jakarta.validation.constraints.Min
- payload() - Method in annotation type jakarta.validation.constraints.Negative
- payload() - Method in annotation type jakarta.validation.constraints.NegativeOrZero
- payload() - Method in annotation type jakarta.validation.constraints.NotBlank
- payload() - Method in annotation type jakarta.validation.constraints.NotEmpty
- payload() - Method in annotation type jakarta.validation.constraints.NotNull
- payload() - Method in annotation type jakarta.validation.constraints.Null
- payload() - Method in annotation type jakarta.validation.constraints.Past
- payload() - Method in annotation type jakarta.validation.constraints.PastOrPresent
- payload() - Method in annotation type jakarta.validation.constraints.Pattern
- payload() - Method in annotation type jakarta.validation.constraints.Positive
- payload() - Method in annotation type jakarta.validation.constraints.PositiveOrZero
- payload() - Method in annotation type jakarta.validation.constraints.Size
- Payload - Interface in jakarta.validation
-
Payload type that can be attached to a given constraint declaration.
- Positive - Annotation Type in jakarta.validation.constraints
-
The annotated element must be a strictly positive number (i.e.
- Positive.List - Annotation Type in jakarta.validation.constraints
-
Defines several
Positive
constraints on the same element. - PositiveOrZero - Annotation Type in jakarta.validation.constraints
-
The annotated element must be a positive number or 0.
- PositiveOrZero.List - Annotation Type in jakarta.validation.constraints
-
Defines several
PositiveOrZero
constraints on the same element. - PROPERTY - jakarta.validation.ElementKind
-
A property of a Java Bean.
- PropertyDescriptor - Interface in jakarta.validation.metadata
-
Describes a Java Bean property hosting validation constraints.
- providerResolver(ValidationProviderResolver) - Method in interface jakarta.validation.bootstrap.GenericBootstrap
-
Defines the provider resolution strategy.
- providerResolver(ValidationProviderResolver) - Method in interface jakarta.validation.bootstrap.ProviderSpecificBootstrap
-
Optionally defines the provider resolver implementation used.
- ProviderSpecificBootstrap<T extends Configuration<T>> - Interface in jakarta.validation.bootstrap
-
Defines the state used to bootstrap Jakarta Validation and creates a provider specific
Configuration
of typeT
.
R
- regexp() - Method in annotation type jakarta.validation.constraints.Email
- regexp() - Method in annotation type jakarta.validation.constraints.Pattern
- releaseInstance(ConstraintValidator<?, ?>) - Method in interface jakarta.validation.ConstraintValidatorFactory
-
Signals
ConstraintValidatorFactory
that the instance is no longer being used by the Jakarta Validation provider. - ReportAsSingleViolation - Annotation Type in jakarta.validation
-
A constraint annotation hosting this annotation will return the composed annotation error report if any of the composing annotations fail.
- RETURN_VALUE - jakarta.validation.ConstraintTarget
-
Constraint applies to the return value of a method or a constructor.
- RETURN_VALUE - jakarta.validation.ElementKind
-
The return value of a method or constructor.
- ReturnValueDescriptor - Interface in jakarta.validation.metadata
-
Describes a validated return value of a method or constructor.
S
- Scope - Enum in jakarta.validation.metadata
-
Scope looked at when discovering constraints.
- Size - Annotation Type in jakarta.validation.constraints
-
The annotated element size must be between the specified boundaries (included).
- Size.List - Annotation Type in jakarta.validation.constraints
-
Defines several
Size
annotations on the same element. - SKIP - jakarta.validation.metadata.ValidateUnwrappedValue
-
The value is not unwrapped before validation, i.e.
- SupportedValidationTarget - Annotation Type in jakarta.validation.constraintvalidation
-
Defines the target(s) a
ConstraintValidator
can validate.
T
- to() - Method in annotation type jakarta.validation.groups.ConvertGroup
-
The target group of this conversion.
- toString() - Method in interface jakarta.validation.Path.Node
-
Returns a human-readable representation of this node.
- toString() - Method in interface jakarta.validation.Path
-
Returns a human-readable representation of this path.
- traversableResolver(TraversableResolver) - Method in interface jakarta.validation.Configuration
-
Defines the traversable resolver used.
- traversableResolver(TraversableResolver) - Method in interface jakarta.validation.ValidatorContext
-
Defines the traversable resolver implementation used by the
Validator
. - TraversableResolver - Interface in jakarta.validation
-
Contract determining if a property can be accessed by the Jakarta Validation provider.
- type() - Method in annotation type jakarta.validation.executable.ValidateOnExecution
-
List of executable types to be validated when called.
- type() - Method in annotation type jakarta.validation.valueextraction.ExtractedValue
-
The type of the value extracted by the
ValueExtractor
.
U
- UnexpectedTypeException - Exception in jakarta.validation
-
Exception raised in the case that the constraint validator resolution cannot determine a suitable validator for a given type.
- UnexpectedTypeException() - Constructor for exception jakarta.validation.UnexpectedTypeException
- UnexpectedTypeException(String) - Constructor for exception jakarta.validation.UnexpectedTypeException
- UnexpectedTypeException(String, Throwable) - Constructor for exception jakarta.validation.UnexpectedTypeException
- UnexpectedTypeException(Throwable) - Constructor for exception jakarta.validation.UnexpectedTypeException
- UNICODE_CASE - jakarta.validation.constraints.Pattern.Flag
-
Enables Unicode-aware case folding.
- UNIX_LINES - jakarta.validation.constraints.Pattern.Flag
-
Enables Unix lines mode.
- unorderedAndMatchingGroups(Class<?>...) - Method in interface jakarta.validation.metadata.ElementDescriptor.ConstraintFinder
-
Restricts to the constraints matching a given set of groups for this element.
- unwrap(Class<T>) - Method in interface jakarta.validation.ConstraintValidatorContext
-
Returns an instance of the specified type allowing access to provider-specific APIs.
- unwrap(Class<T>) - Method in interface jakarta.validation.MessageInterpolator.Context
-
Returns an instance of the specified type allowing access to provider-specific APIs.
- unwrap(Class<T>) - Method in interface jakarta.validation.Validator
-
Returns an instance of the specified type allowing access to provider-specific APIs.
- unwrap(Class<T>) - Method in interface jakarta.validation.ValidatorFactory
-
Returns an instance of the specified type allowing access to provider-specific APIs.
- unwrap(Class<U>) - Method in interface jakarta.validation.ConstraintViolation
-
Returns an instance of the specified type allowing access to provider-specific APIs.
- unwrap(Class<U>) - Method in interface jakarta.validation.metadata.ConstraintDescriptor
-
Returns an instance of the specified type allowing access to provider-specific APIs.
- UNWRAP - jakarta.validation.metadata.ValidateUnwrappedValue
-
The value is unwrapped before validation, i.e.
- UnwrapByDefault - Annotation Type in jakarta.validation.valueextraction
-
Marks a
ValueExtractor
definition so that it is applied automatically when detecting constraints declared on the container type supported by the extractor, causing the constraints to be applied to the container's elements instead of the container. - Unwrapping - Interface in jakarta.validation.valueextraction
-
Set of interfaces used in the
payload()
of a constraint to indicate if a value should be unwrapped before validation. - Unwrapping.Skip - Interface in jakarta.validation.valueextraction
-
Skip the unwrapping if it has been enabled on the
ValueExtractor
by theUnwrapByDefault
annotation. - Unwrapping.Unwrap - Interface in jakarta.validation.valueextraction
-
Unwrap the value before validation.
- usingContext() - Method in interface jakarta.validation.ValidatorFactory
-
Defines a new validator context and returns a
Validator
compliant this new context.
V
- Valid - Annotation Type in jakarta.validation
-
Marks a property, method parameter or method return type for validation cascading.
- validate(T, Class<?>...) - Method in interface jakarta.validation.Validator
-
Validates all constraints on
object
. - validateConstructorParameters(Constructor<? extends T>, Object[], Class<?>...) - Method in interface jakarta.validation.executable.ExecutableValidator
-
Validates all constraints placed on the parameters of the given constructor.
- validateConstructorReturnValue(Constructor<? extends T>, T, Class<?>...) - Method in interface jakarta.validation.executable.ExecutableValidator
-
Validates all return value constraints of the given constructor.
- validatedBy() - Method in annotation type jakarta.validation.Constraint
-
ConstraintValidator
classes implementing the constraint. - ValidateOnExecution - Annotation Type in jakarta.validation.executable
-
Expresses which executables (methods or constructors) should have their parameters and return value validated upon execution.
- validateParameters(T, Method, Object[], Class<?>...) - Method in interface jakarta.validation.executable.ExecutableValidator
-
Validates all constraints placed on the parameters of the given method.
- validateProperty(T, String, Class<?>...) - Method in interface jakarta.validation.Validator
-
Validates all constraints placed on the property of
object
namedpropertyName
. - validateReturnValue(T, Method, Object, Class<?>...) - Method in interface jakarta.validation.executable.ExecutableValidator
-
Validates all return value constraints of the given method.
- ValidateUnwrappedValue - Enum in jakarta.validation.metadata
-
The unwrapping behavior that can be applied to a specific constraint.
- validateValue(Class<T>, String, Object, Class<?>...) - Method in interface jakarta.validation.Validator
-
Validates all constraints placed on the property named
propertyName
of the classbeanType
would the property value bevalue
. - Validation - Class in jakarta.validation
-
This class is the entry point for Jakarta Validation.
- Validation() - Constructor for class jakarta.validation.Validation
- ValidationException - Exception in jakarta.validation
-
Base exception of all Jakarta Validation "unexpected" problems.
- ValidationException() - Constructor for exception jakarta.validation.ValidationException
- ValidationException(String) - Constructor for exception jakarta.validation.ValidationException
- ValidationException(String, Throwable) - Constructor for exception jakarta.validation.ValidationException
- ValidationException(Throwable) - Constructor for exception jakarta.validation.ValidationException
- ValidationProvider<T extends Configuration<T>> - Interface in jakarta.validation.spi
-
Contract between the validation bootstrap mechanism and the provider engine.
- ValidationProviderResolver - Interface in jakarta.validation
-
Determines the list of Jakarta Validation providers available in the runtime environment
- ValidationTarget - Enum in jakarta.validation.constraintvalidation
-
List of possible targets for a
ConstraintValidator
. - Validator - Interface in jakarta.validation
-
Validates bean instances.
- ValidatorContext - Interface in jakarta.validation
-
Represents the context that is used to create
Validator
instances. - ValidatorFactory - Interface in jakarta.validation
-
Factory returning initialized
Validator
instances. - value() - Method in annotation type jakarta.validation.constraints.AssertFalse.List
- value() - Method in annotation type jakarta.validation.constraints.AssertTrue.List
- value() - Method in annotation type jakarta.validation.constraints.DecimalMax.List
- value() - Method in annotation type jakarta.validation.constraints.DecimalMax
-
The
String
representation of the max value according to theBigDecimal
string representation. - value() - Method in annotation type jakarta.validation.constraints.DecimalMin.List
- value() - Method in annotation type jakarta.validation.constraints.DecimalMin
-
The
String
representation of the min value according to theBigDecimal
string representation. - value() - Method in annotation type jakarta.validation.constraints.Digits.List
- value() - Method in annotation type jakarta.validation.constraints.Email.List
- value() - Method in annotation type jakarta.validation.constraints.Future.List
- value() - Method in annotation type jakarta.validation.constraints.FutureOrPresent.List
- value() - Method in annotation type jakarta.validation.constraints.Max.List
- value() - Method in annotation type jakarta.validation.constraints.Max
- value() - Method in annotation type jakarta.validation.constraints.Min.List
- value() - Method in annotation type jakarta.validation.constraints.Min
- value() - Method in annotation type jakarta.validation.constraints.Negative.List
- value() - Method in annotation type jakarta.validation.constraints.NegativeOrZero.List
- value() - Method in annotation type jakarta.validation.constraints.NotBlank.List
- value() - Method in annotation type jakarta.validation.constraints.NotEmpty.List
- value() - Method in annotation type jakarta.validation.constraints.NotNull.List
- value() - Method in annotation type jakarta.validation.constraints.Null.List
- value() - Method in annotation type jakarta.validation.constraints.Past.List
- value() - Method in annotation type jakarta.validation.constraints.PastOrPresent.List
- value() - Method in annotation type jakarta.validation.constraints.Pattern.List
- value() - Method in annotation type jakarta.validation.constraints.Positive.List
- value() - Method in annotation type jakarta.validation.constraints.PositiveOrZero.List
- value() - Method in annotation type jakarta.validation.constraints.Size.List
- value() - Method in annotation type jakarta.validation.constraintvalidation.SupportedValidationTarget
- value() - Method in annotation type jakarta.validation.groups.ConvertGroup.List
- value() - Method in annotation type jakarta.validation.GroupSequence
- value() - Method in annotation type jakarta.validation.OverridesAttribute.List
- value(String, Object) - Method in interface jakarta.validation.valueextraction.ValueExtractor.ValueReceiver
-
Receives the value extracted from an object.
- ValueExtractor<T> - Interface in jakarta.validation.valueextraction
-
Defines the logic used to extract the values from a container object of type
T
. - ValueExtractor.ValueReceiver - Interface in jakarta.validation.valueextraction
-
Provides a set of methods receiving value extracted by the
ValueExtractor
. - ValueExtractorDeclarationException - Exception in jakarta.validation.valueextraction
-
Raised if the configuration of
ValueExtractor
is illegal, e.g. - ValueExtractorDeclarationException() - Constructor for exception jakarta.validation.valueextraction.ValueExtractorDeclarationException
- ValueExtractorDeclarationException(String) - Constructor for exception jakarta.validation.valueextraction.ValueExtractorDeclarationException
- ValueExtractorDeclarationException(String, Throwable) - Constructor for exception jakarta.validation.valueextraction.ValueExtractorDeclarationException
- ValueExtractorDeclarationException(Throwable) - Constructor for exception jakarta.validation.valueextraction.ValueExtractorDeclarationException
- ValueExtractorDefinitionException - Exception in jakarta.validation.valueextraction
-
Raised if a
ValueExtractor
definition is illegal, e.g. - ValueExtractorDefinitionException() - Constructor for exception jakarta.validation.valueextraction.ValueExtractorDefinitionException
- ValueExtractorDefinitionException(String) - Constructor for exception jakarta.validation.valueextraction.ValueExtractorDefinitionException
- ValueExtractorDefinitionException(String, Throwable) - Constructor for exception jakarta.validation.valueextraction.ValueExtractorDefinitionException
- ValueExtractorDefinitionException(Throwable) - Constructor for exception jakarta.validation.valueextraction.ValueExtractorDefinitionException
- valueOf(String) - Static method in enum jakarta.validation.constraints.Pattern.Flag
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum jakarta.validation.ConstraintTarget
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum jakarta.validation.constraintvalidation.ValidationTarget
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum jakarta.validation.ElementKind
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum jakarta.validation.executable.ExecutableType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum jakarta.validation.metadata.MethodType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum jakarta.validation.metadata.Scope
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum jakarta.validation.metadata.ValidateUnwrappedValue
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum jakarta.validation.constraints.Pattern.Flag
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum jakarta.validation.ConstraintTarget
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum jakarta.validation.constraintvalidation.ValidationTarget
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum jakarta.validation.ElementKind
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum jakarta.validation.executable.ExecutableType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum jakarta.validation.metadata.MethodType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum jakarta.validation.metadata.Scope
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum jakarta.validation.metadata.ValidateUnwrappedValue
-
Returns an array containing the constants of this enum type, in the order they are declared.
All Classes All Packages