All Downloads are FREE. Search and download functionalities are using the official Maven repository.

javax.validation.constraintvalidation.ValidationTarget Maven / Gradle / Ivy

The newest version!
/*
 * Bean Validation API
 *
 * License: Apache License, Version 2.0
 * See the license.txt file in the root directory or .
 */
package javax.validation.constraintvalidation;

import javax.validation.ConstraintValidator;

/**
 * List of possible targets for a {@link ConstraintValidator}.
 *
 * @author Emmanuel Bernard
 * @since 1.1
 */
public enum ValidationTarget {

	/**
	 * (Returned) element annotated by the constraint.
	 */
	ANNOTATED_ELEMENT,

	/**
	 * Array of parameters of the annotated method or constructor (aka cross-parameter).
	 */
	PARAMETERS
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy