| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final ConstraintDefinitionContext. | |
| private static final long | |
| private final Type |
| Access | Constructor and Description |
|---|---|
| public | LambdaBasedValidatorDescriptor(Type validatedType, ConstraintDefinitionContext.
|
| Modifier and Type | Method and Description |
|---|---|
| public Type | getValidatedType()
Implements org. |
| public EnumSet | getValidationTargets()
The targets supported for validation by the represented validator.
|
| public Class | getValidatorClass()
Implements org. |
| public ConstraintValidator | newInstance(ConstraintValidatorFactory constraintValidatorFactory)
Implements org. |
| lambda | back to summary |
|---|---|
| private final ConstraintDefinitionContext. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| validatedType | back to summary |
|---|---|
| private final Type validatedType | |
| LambdaBasedValidatorDescriptor | back to summary |
|---|---|
| public LambdaBasedValidatorDescriptor(Type validatedType, ConstraintDefinitionContext. | |
| getValidatedType | back to summary |
|---|---|
| public Type getValidatedType() Implements org. 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 Implements org. The implementation type of the represented validator.
| |
| newInstance | back to summary |
|---|---|
| public ConstraintValidator Implements org. Creates a new instance of the represented implementation type.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final ConstraintDefinitionContext. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | isValid(T
object to validate value, ConstraintValidatorContext context in which the constraint is evaluated context)Implements jakarta. |
| lambda | back to summary |
|---|---|
| private final ConstraintDefinitionContext. | |
| LambdaExecutor | back to summary |
|---|---|
| public LambdaExecutor(ConstraintDefinitionContext. | |
| isValid | back to summary |
|---|---|
| public boolean isValid(T value, ConstraintValidatorContext context) Implements jakarta. Doc from jakarta. Implements the validation logic.
The state of This method can be accessed concurrently, thread-safety must be ensured by the implementation.
| |