@Deprecated public static enum MethodConstraintViolation.Kind extends Enum<MethodConstraintViolation.Kind>
MethodConstraintViolation
.Enum Constant and Description |
---|
PARAMETER
Deprecated.
Identifies constraint violations occurred during the validation of a
method's parameter.
|
RETURN_VALUE
Deprecated.
Identifies constraint violations occurred during the validation of a
method's return value.
|
Modifier and Type | Method and Description |
---|---|
static MethodConstraintViolation.Kind |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static MethodConstraintViolation.Kind[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MethodConstraintViolation.Kind PARAMETER
public static final MethodConstraintViolation.Kind RETURN_VALUE
public static MethodConstraintViolation.Kind[] values()
for (MethodConstraintViolation.Kind c : MethodConstraintViolation.Kind.values()) System.out.println(c);
public static MethodConstraintViolation.Kind 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