public static enum ValidationConfig.ExceptionHandler extends java.lang.Enum<ValidationConfig.ExceptionHandler>
| Enum Constant and Description |
|---|
NOT_REQUIRED |
REQUIRED |
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldValidateExceptionHandler() |
static ValidationConfig.ExceptionHandler |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ValidationConfig.ExceptionHandler[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValidationConfig.ExceptionHandler REQUIRED
public static final ValidationConfig.ExceptionHandler NOT_REQUIRED
public static ValidationConfig.ExceptionHandler[] values()
for (ValidationConfig.ExceptionHandler c : ValidationConfig.ExceptionHandler.values()) System.out.println(c);
public static ValidationConfig.ExceptionHandler valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic boolean shouldValidateExceptionHandler()