Enum ConstraintHelper.ConstraintCheckResult
java.lang.Object
java.lang.Enum<ConstraintHelper.ConstraintCheckResult>
org.hibernate.validator.ap.internal.util.ConstraintHelper.ConstraintCheckResult
- All Implemented Interfaces:
Serializable
,Comparable<ConstraintHelper.ConstraintCheckResult>
,java.lang.constant.Constable
- Enclosing class:
- ConstraintHelper
public static enum ConstraintHelper.ConstraintCheckResult
extends Enum<ConstraintHelper.ConstraintCheckResult>
Possible results of a constraint check as returned by
ConstraintHelper.checkConstraint(DeclaredType, TypeMirror)
.- Author:
- Gunnar Morling
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe checked constraint is allowed at the evaluated type.The checked constraint is not allowed at the evaluated type.Multiple validators were found, that could validate the checked constrained at the evaluated type. -
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
-
ALLOWED
The checked constraint is allowed at the evaluated type. -
DISALLOWED
The checked constraint is not allowed at the evaluated type. -
MULTIPLE_VALIDATORS_FOUND
Multiple validators were found, that could validate the checked constrained at the evaluated type.
-
-
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
-