1 /*
2  * Jakarta Bean Validation API
3  *
4  * License: Apache License, Version 2.0
5  * See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>.
6  */

7 package javax.validation.constraintvalidation;
8
9 import javax.validation.ConstraintValidator;
10
11 /**
12  * List of possible targets for a {@link ConstraintValidator}.
13  *
14  * @author Emmanuel Bernard
15  * @since 1.1
16  */

17 public enum ValidationTarget {
18
19     /**
20      * (Returned) element annotated by the constraint.
21      */

22     ANNOTATED_ELEMENT,
23
24     /**
25      * Array of parameters of the annotated method or constructor (aka cross-parameter).
26      */

27     PARAMETERS
28 }
29