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