ConstraintValidator or given as a
Lambda expression/method reference.
| Modifier and Type | Method and Description |
|---|---|
| public static <A extends Annotation> ConstraintValidatorDescriptor | forBuiltinClass(Class<? extends ConstraintValidator<A, ?>> validatorClass, Class<? extends Annotation> constraintAnnotationType)
|
| public static <A extends Annotation> ConstraintValidatorDescriptor | forClass(Class<? extends ConstraintValidator<A, ?>> validatorClass, Class<? extends Annotation> constraintAnnotationType)
|
| public static <A extends Annotation, T> ConstraintValidatorDescriptor | forLambda(Class<A> annotationType, Type validatedType, ConstraintDefinitionContext.
|
| public Type | getValidatedType()
The data type validated by the represented validator (not the constraint annotation type). |
| public EnumSet | |
| public Class | |
| public ConstraintValidator | newInstance(ConstraintValidatorFactory constraintValidatorFactory)
Creates a new instance of the represented implementation type. |
| forBuiltinClass | back to summary |
|---|---|
| public static <A extends Annotation> ConstraintValidatorDescriptor | |
| forClass | back to summary |
|---|---|
| public static <A extends Annotation> ConstraintValidatorDescriptor | |
| forLambda | back to summary |
|---|---|
| public static <A extends Annotation, T> ConstraintValidatorDescriptor | |
| getValidatedType | back to summary |
|---|---|
| public Type getValidatedType() The data type validated by the represented validator (not the constraint annotation type). | |
| getValidationTargets | back to summary |
|---|---|
| public EnumSet The targets supported for validation by the represented validator. | |
| getValidatorClass | back to summary |
|---|---|
| public Class The implementation type of the represented validator. | |
| newInstance | back to summary |
|---|---|
| public ConstraintValidator Creates a new instance of the represented implementation type. | |