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