Annotation Type SupportedValidationTarget
-
@Documented @Target(TYPE) @Retention(RUNTIME) public @interface SupportedValidationTargetDefines the target(s) aConstraintValidatorcan validate. AConstraintValidatorcan target the (returned) element annotated by the constraint, the array of parameters of a method or constructor (aka cross-parameter) or both. If@SupportedValidationTargetis not present, theConstraintValidatortargets the (returned) element annotated by the constraint. AConstraintValidatortargeting cross-parameter must acceptObject[](orObject) as the type of object it validates.- Since:
- 1.1
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description ValidationTarget[]value
-
-
-
Element Detail
-
value
ValidationTarget[] value
-
-