public static enum Validation.EventSeverityEnum extends Enum<Validation.EventSeverityEnum>
Modifier and Type | Method and Description |
---|---|
static Validation.EventSeverityEnum |
fromValue(String value) |
String |
getValue() |
String |
toString() |
static Validation.EventSeverityEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Validation.EventSeverityEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Validation.EventSeverityEnum CRITICAL
public static final Validation.EventSeverityEnum ERROR
public static final Validation.EventSeverityEnum WARNING
public static final Validation.EventSeverityEnum INFO
public static Validation.EventSeverityEnum[] values()
for (Validation.EventSeverityEnum c : Validation.EventSeverityEnum.values()) System.out.println(c);
public static Validation.EventSeverityEnum 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 getValue()
public String toString()
toString
in class Enum<Validation.EventSeverityEnum>
public static Validation.EventSeverityEnum fromValue(String value)