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

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

There is a newer version: 4.0.1
Show newest version
/*
 * Jakarta Bean Validation API
 *
 * License: Apache License, Version 2.0
 * See the license.txt file in the root directory or .
 */
package jakarta.validation.constraintvalidation;

import jakarta.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