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