public enum ValidationMode extends Enum<ValidationMode>
| Enum Constant and Description |
|---|
AUTO
Use Bean Validation if a provider is found on the classpath (Default).
|
CALLBACK
Force the use of Bean Validation.
|
NONE
Do not use Bean Validation, even if a provider is present.
|
| Modifier and Type | Method and Description |
|---|---|
static ValidationMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValidationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValidationMode AUTO
public static final ValidationMode CALLBACK
public static final ValidationMode NONE
public static ValidationMode[] values()
for (ValidationMode c : ValidationMode.values()) System.out.println(c);
public static ValidationMode 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 © 2017 akquinet tech@spree GmbH. All Rights Reserved.