| Modifier and Type | Method and Description |
|---|---|
| public < The annotation type to be configured. A extends Annotation> ConstraintDefinitionContext | Returns: Instance allowing for defining validators to be executed for the specified constraint.The annotation class on which to define the validators. This type must be an
annotationClass)@interface annotated with jakarta.validation.Constraint. All validators defined after calling
this method are added to the annotation of the type annotationClass until the next call
of type or annotation.Starts defining |
| public < The type to be configured. C> TypeConstraintMappingContext | Returns: Instance allowing for defining constraints on the specified class.The bean class on which to define constraints. All constraints defined after calling this method
are added to the bean of the type beanClass)beanClass until the next call of type or annotation.
Deprecated
as a consequence of
Starts defining constraints on the specified bean class.
TypeConstraintMappingContext being deprecated.
|
| constraintDefinition | back to summary |
|---|---|
| public <A extends Annotation> ConstraintDefinitionContext Starts defining
| |
| type | back to summary |
|---|---|
| public <C> TypeConstraintMappingContext Deprecated as a consequence of Starts defining constraints on the specified bean class. Each bean class may only be configured once within all constraint mappings used for configuring one validator factory.
| |