public enum ValidationTarget extends Enum<ValidationTarget>
Enum Constant and Description |
---|
ELEMENTS
Apply validation to elements of an array, collection or map values.
|
KEYS
Apply validation to keys of a map.
|
VALUE
Apply validation to value itself.
|
Modifier and Type | Method and Description |
---|---|
static ValidationTarget |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValidationTarget[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValidationTarget VALUE
public static final ValidationTarget KEYS
public static final ValidationTarget ELEMENTS
public static ValidationTarget[] values()
for (ValidationTarget c : ValidationTarget.values()) System.out.println(c);
public static ValidationTarget 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 © 2011–2020 FoxLabs. All rights reserved.