public enum ValidationSeverity extends Enum<ValidationSeverity>
| Modifier and Type | Method and Description |
|---|---|
String |
getCode() |
boolean |
isHigherThan(ValidationSeverity severity) |
boolean |
isLowerThan(ValidationSeverity severity) |
static ValidationSeverity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValidationSeverity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValidationSeverity ERROR
public static final ValidationSeverity WARN
public static final ValidationSeverity INFO
public static final ValidationSeverity NONE
public static ValidationSeverity[] values()
for (ValidationSeverity c : ValidationSeverity.values()) System.out.println(c);
public static ValidationSeverity 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 nullpublic String getCode()
public boolean isLowerThan(ValidationSeverity severity)
public boolean isHigherThan(ValidationSeverity severity)
Copyright © 2018. All rights reserved.