public static enum ConstraintHelper.ConstraintCheckResult extends Enum<ConstraintHelper.ConstraintCheckResult>
ConstraintHelper.checkConstraint(DeclaredType, TypeMirror)
.Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
static ConstraintHelper.ConstraintCheckResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConstraintHelper.ConstraintCheckResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConstraintHelper.ConstraintCheckResult ALLOWED
public static final ConstraintHelper.ConstraintCheckResult DISALLOWED
public static final ConstraintHelper.ConstraintCheckResult MULTIPLE_VALIDATORS_FOUND
public static ConstraintHelper.ConstraintCheckResult[] values()
for (ConstraintHelper.ConstraintCheckResult c : ConstraintHelper.ConstraintCheckResult.values()) System.out.println(c);
public static ConstraintHelper.ConstraintCheckResult valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullCopyright © 2007-2014 Red Hat Middleware, LLC. All Rights Reserved