public enum ErrorSeverity extends java.lang.Enum<ErrorSeverity>
Modifier and Type | Method and Description |
---|---|
int |
getIntValue()
Returns the type code for this ErrorSeverity
|
static ErrorSeverity |
getTypeForValue(int val)
Returns the ErrorSeverity for the given type code.
|
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 Debug
public static final ErrorSeverity Info
public static final ErrorSeverity Warn
public static final ErrorSeverity Error
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 int getIntValue()
public static ErrorSeverity getTypeForValue(int val)