Enum ConstraintHelper.AnnotationProcessorConstraintTarget
java.lang.Object
java.lang.Enum<ConstraintHelper.AnnotationProcessorConstraintTarget>
org.hibernate.validator.ap.internal.util.ConstraintHelper.AnnotationProcessorConstraintTarget
- All Implemented Interfaces:
Serializable
,Comparable<ConstraintHelper.AnnotationProcessorConstraintTarget>
,java.lang.constant.Constable
- Enclosing class:
- ConstraintHelper
public static enum ConstraintHelper.AnnotationProcessorConstraintTarget
extends Enum<ConstraintHelper.AnnotationProcessorConstraintTarget>
The validation target of a constraint annotation.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDiscover the type when no ambiguity is present if neither on a method nor a constructor.Constraint applies to the parameters of a method or a constructor.Constraint applies to the return value of a method or a constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PARAMETERS
Constraint applies to the parameters of a method or a constructor. -
RETURN_VALUE
Constraint applies to the return value of a method or a constructor. -
IMPLICIT
Discover the type when no ambiguity is present if neither on a method nor a constructor.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-