public interface ConstraintDefinitionTarget
Modifier and Type | Method and Description |
---|---|
<A extends java.lang.annotation.Annotation> |
constraintDefinition(java.lang.Class<A> annotationType)
Selects the constraint (i.e.
|
<A extends java.lang.annotation.Annotation> ConstraintDefinitionContext<A> constraintDefinition(java.lang.Class<A> annotationType)
A
- The annotation type to select.annotationType
- The annotation type to select. This type must be an @interface
annotated with
javax.validation.Constraint
.Copyright © 2007-2022 Red Hat, Inc. All Rights Reserved