public static enum ValidationViolation.Severity extends Enum<ValidationViolation.Severity>
Modifier and Type | Method and Description |
---|---|
static ValidationViolation.Severity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValidationViolation.Severity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValidationViolation.Severity WARNING
public static final ValidationViolation.Severity ERROR
public static ValidationViolation.Severity[] values()
for (ValidationViolation.Severity c : ValidationViolation.Severity.values()) System.out.println(c);
public static ValidationViolation.Severity 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 nullThis work is licensed under a Creative Commons Attribution 4.0 International License.