- CascadableDescriptor - Interface in jakarta.validation.metadata
-
Represents a cascadable element.
- ClockProvider - Interface in jakarta.validation
-
Contract for obtaining the
Clock
used as the reference for
now
when
validating the
@Future
and
@Past
constraints.
- clockProvider(ClockProvider) - Method in interface jakarta.validation.Configuration
-
Defines the clock provider.
- clockProvider(ClockProvider) - Method in interface jakarta.validation.ValidatorContext
-
- close() - Method in interface jakarta.validation.ValidatorFactory
-
Closes the ValidatorFactory
instance.
- Configuration<T extends Configuration<T>> - Interface in jakarta.validation
-
Receives configuration information, selects the appropriate
Jakarta Bean Validation provider and builds the appropriate
ValidatorFactory
.
- ConfigurationState - Interface in jakarta.validation.spi
-
- configure() - Method in interface jakarta.validation.bootstrap.GenericBootstrap
-
- configure() - Method in interface jakarta.validation.bootstrap.ProviderSpecificBootstrap
-
Determines the provider implementation suitable for
T
and delegates
the creation of this specific
Configuration
subclass to the provider.
- Constraint - Annotation Type in jakarta.validation
-
Marks an annotation as being a Jakarta Bean Validation constraint.
- ConstraintDeclarationException - Exception in jakarta.validation
-
Exception raised if a constraint declaration is not legal.
- ConstraintDeclarationException(String) - Constructor for exception jakarta.validation.ConstraintDeclarationException
-
- ConstraintDeclarationException() - 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(String) - Constructor for exception jakarta.validation.ConstraintDefinitionException
-
- ConstraintDefinitionException() - 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 Annotation> - Interface in jakarta.validation.metadata
-
Describes a single constraint and its composing constraints.
- ConstraintTarget - Enum in jakarta.validation
-
Defines the constraint target.
- ConstraintValidator<A extends Annotation,T> - Interface in jakarta.validation
-
Defines the logic to validate a given constraint A
for a given object type T
.
- 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 - Interface in jakarta.validation
-
- constraintValidatorFactory(ConstraintValidatorFactory) - Method in interface jakarta.validation.ValidatorContext
-
Defines the constraint validator factory implementation used by the
Validator
.
- 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.
- ConstructorDescriptor - Interface in jakarta.validation.metadata
-
Describes a validated constructor.
- 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 group to
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
-
- createSpecializedConfiguration(BootstrapState) - Method in interface jakarta.validation.spi.ValidationProvider
-
Returns a
Configuration
instance implementing
T
,
the
Configuration
sub-interface.
- CrossParameterDescriptor - Interface in jakarta.validation.metadata
-
Describes an element holding cross-parameter constraints of a method or constructor
- GenericBootstrap - Interface in jakarta.validation.bootstrap
-
Defines the state used to bootstrap Jakarta Bean 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 the
ValidatorFactory
.
- getClockProviderClassName() - Method in interface jakarta.validation.BootstrapConfiguration
-
Class name of the
ClockProvider
implementation or
null
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
-
- getConstraintValidatorFactoryClassName() - Method in interface jakarta.validation.BootstrapConfiguration
-
- 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 default
ClockProvider
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
-
- getDefaultMessageInterpolator() - Method in interface jakarta.validation.Configuration
-
Returns an implementation of the
MessageInterpolator
interface
following the default
MessageInterpolator
defined in the
specification:
use the
ValidationMessages
resource bundle to load keys
use
Locale.getDefault()
- getDefaultParameterNameProvider() - Method in interface jakarta.validation.Configuration
-
Returns an implementation of the
ParameterNameProvider
interface following the default
ParameterNameProvider
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 form
arg<PARAMETER_INDEX>
,
where
PARAMETER_INDEX
starts at 0 for the first parameter,
e.g.
- getDefaultProviderClassName() - Method in interface jakarta.validation.BootstrapConfiguration
-
- getDefaultTraversableResolver() - Method in interface jakarta.validation.Configuration
-
Returns an implementation of the
TraversableResolver
interface
following the default
TraversableResolver
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 the ConstraintViolation
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 the
ConstraintViolation
is returned
after calling
Validator.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 value
null
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 the
ValidatorFactory
.
- getMessageInterpolatorClassName() - Method in interface jakarta.validation.BootstrapConfiguration
-
- 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
-
- getParameterNameProviderClassName() - Method in interface jakarta.validation.BootstrapConfiguration
-
- 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.
- 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 the
ValidatorFactory
.
- getTraversableResolverClassName() - Method in interface jakarta.validation.BootstrapConfiguration
-
- 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
-
The
ConstraintTarget
value of
validationAppliesTo
if the constraint
hosts it or
null
otherwise.
- getValidationProviderResolver() - Method in interface jakarta.validation.spi.BootstrapState
-
User defined ValidationProviderResolver
strategy
instance or null
if undefined.
- getValidationProviders() - Method in interface jakarta.validation.ValidationProviderResolver
-
- 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
-
- 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(String) - Constructor for exception jakarta.validation.GroupDefinitionException
-
- GroupDefinitionException() - Constructor for exception jakarta.validation.GroupDefinitionException
-
- GroupDefinitionException(String, Throwable) - Constructor for exception jakarta.validation.GroupDefinitionException
-
- GroupDefinitionException(Throwable) - Constructor for exception jakarta.validation.GroupDefinitionException
-
- GroupSequence - Annotation Type in jakarta.validation
-
Defines group sequence.
- ignoreXmlConfiguration() - Method in interface jakarta.validation.Configuration
-
Ignores data from the META-INF/validation.xml
file if this
method is called.
- inContainer(Class<?>, Integer) - Method in interface jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.LeafNodeBuilderCustomizableContext
-
Marks the node as being in a container such as a List
, Map
or
Optional
.
- inContainer(Class<?>, Integer) - Method in interface jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderCustomizableContext
-
Marks the node as being in a container such as a List
, Map
or
Optional
.
- 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
-
- 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 Bean 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
-
- 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 Bean 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.
- 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 - Interface in jakarta.validation
-
Provides names for method and constructor parameters.
- parameterNameProvider(ParameterNameProvider) - Method in interface jakarta.validation.ValidatorContext
-
Defines the parameter name provider implementation used by the
Validator
.
- 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
-
- 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
or Map
.
- 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 - 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
-
- 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 Bean Validation and
creates a provider specific
Configuration
of type
T
.
- 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.
- 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
named propertyName
.
- 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 class beanType
would the property value be value
.
- Validation - Class in jakarta.validation
-
This class is the entry point for Jakarta Bean Validation.
- Validation() - Constructor for class jakarta.validation.Validation
-
- ValidationException - Exception in jakarta.validation
-
Base exception of all Jakarta Bean Validation "unexpected" problems.
- ValidationException(String) - Constructor for exception jakarta.validation.ValidationException
-
- ValidationException() - 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 Bean Validation providers available in the runtime environment
- ValidationTarget - Enum in jakarta.validation.constraintvalidation
-
- 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(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
-
- ValueExtractorDeclarationException() - Constructor for exception jakarta.validation.valueextraction.ValueExtractorDeclarationException
-
- ValueExtractorDeclarationException(String) - Constructor for exception jakarta.validation.valueextraction.ValueExtractorDeclarationException
-
- ValueExtractorDeclarationException(Throwable) - Constructor for exception jakarta.validation.valueextraction.ValueExtractorDeclarationException
-
- ValueExtractorDeclarationException(String, Throwable) - Constructor for exception jakarta.validation.valueextraction.ValueExtractorDeclarationException
-
- ValueExtractorDefinitionException - Exception in jakarta.validation.valueextraction
-
- ValueExtractorDefinitionException() - Constructor for exception jakarta.validation.valueextraction.ValueExtractorDefinitionException
-
- ValueExtractorDefinitionException(String) - Constructor for exception jakarta.validation.valueextraction.ValueExtractorDefinitionException
-
- ValueExtractorDefinitionException(Throwable) - Constructor for exception jakarta.validation.valueextraction.ValueExtractorDefinitionException
-
- ValueExtractorDefinitionException(String, 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.