public enum ErrorSeverity extends java.lang.Enum<ErrorSeverity>
| Enum Constant and Description |
|---|
ERROR |
ERROR_ONE_OFF |
FATAL |
INFO |
WARNING |
WARNING_ONE_OFF |
| Modifier and Type | Method and Description |
|---|---|
java.lang.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(java.lang.String name)
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 ErrorSeverity INFO
public static final ErrorSeverity WARNING
public static final ErrorSeverity WARNING_ONE_OFF
public static final ErrorSeverity ERROR
public static final ErrorSeverity ERROR_ONE_OFF
public static final ErrorSeverity FATAL
public static ErrorSeverity[] values()
for (ErrorSeverity c : ErrorSeverity.values()) System.out.println(c);
public static ErrorSeverity valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getText()