public static enum ValidationPolicy.Policy extends Enum<ValidationPolicy.Policy>
| Enum Constant and Description |
|---|
ON_CHANGE
An on change validator is invoked when the
field's value is read from the view model.
|
ON_SAVE
An on save validator is invoked as part of an actions
check-save phase.
|
| Modifier and Type | Method and Description |
|---|---|
static ValidationPolicy.Policy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValidationPolicy.Policy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValidationPolicy.Policy ON_SAVE
public static final ValidationPolicy.Policy ON_CHANGE
public static ValidationPolicy.Policy[] values()
for (ValidationPolicy.Policy c : ValidationPolicy.Policy.values()) System.out.println(c);
public static ValidationPolicy.Policy 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 © 2006–2017 Esito AS. All rights reserved.