public enum ErrorSeverity extends Enum<ErrorSeverity >
| Enum Constant and Description |
|---|
ERROR
|
ERROR_ONE_OFF
|
FATAL
|
INFO
|
WARNING
|
WARNING_ONE_OFF
|
| Modifier and Type | Method and Description |
|---|---|
String |
getText()
Standard getter method for the text that should be displayed in order to represent the severity to humans and product modelers.
|
static ErrorSeverity |
valueOf(String
Returns the enum constant of this type with the specified name.
|
static ErrorSeverity |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final ErrorSeverityINFO
public static final ErrorSeverityWARNING
public static final ErrorSeverityWARNING_ONE_OFF
public static final ErrorSeverityERROR
public static final ErrorSeverityERROR_ONE_OFF
public static final ErrorSeverityFATAL
public static ErrorSeverity[] values()
for (ErrorSeverity c : ErrorSeverity.values()) System.out.println(c);
public static ErrorSeverityvalueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null
public StringgetText()