public static enum FormValidation.Kind extends Enum<FormValidation.Kind>
| Enum Constant and Description |
|---|
ERROR
Form field value contained a problem that should be corrected.
|
OK
Form field value was OK and no problem was detected.
|
WARNING
Form field value contained something suspicious.
|
| Modifier and Type | Method and Description |
|---|---|
static FormValidation.Kind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FormValidation.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FormValidation.Kind OK
public static final FormValidation.Kind WARNING
public static final FormValidation.Kind ERROR
public static FormValidation.Kind[] values()
for (FormValidation.Kind c : FormValidation.Kind.values()) System.out.println(c);
public static FormValidation.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 © 2019. All rights reserved.