public enum ValidationState extends Enum<ValidationState>
Enum Constant and Description |
---|
DEPRECATED
The validated item is deprecated.
|
ERROR
The validated item has an invalid value.
|
MISSING
A required parameter or section is missing.
|
UNDEFINED
The given section or parameter is not a defined/validated item.
|
VALID
The validated item is valid
|
WARNING
The validated item is correct, but the value is worth a warning.
|
Modifier and Type | Method and Description |
---|---|
static ValidationState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValidationState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValidationState VALID
public static final ValidationState DEPRECATED
public static final ValidationState WARNING
public static final ValidationState UNDEFINED
public static final ValidationState MISSING
public static final ValidationState ERROR
public static ValidationState[] values()
for (ValidationState c : ValidationState.values()) System.out.println(c);
public static ValidationState 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 © 2014–2016 Apache Software Foundation. All rights reserved.