Interface ConstraintDefinitionContext.ConstraintValidatorDefinitionContext<A extends Annotation,T>
- Enclosing interface:
- ConstraintDefinitionContext<A extends Annotation>
@Incubating
public static interface ConstraintDefinitionContext.ConstraintValidatorDefinitionContext<A extends Annotation,T>
Allows to specify a validation implementation for the given constraint and data type using a Lambda expression or
method reference.
-
Method Summary
Modifier and TypeMethodDescriptionApplies the given Lambda expression or referenced method to values to be validated.
-
Method Details
-
with
Applies the given Lambda expression or referenced method to values to be validated. It is guaranteed thatnull
is never passed to these expressions or methods.
-