public static enum IReport.Severity extends Enum<IReport.Severity>
Enum Constant and Description |
---|
ERROR
Severity of errors
|
LOG
Severity of information logs
|
WARNING
Severity of warnings
|
Modifier and Type | Field and Description |
---|---|
String |
name
User-friendly name for the severity
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static IReport.Severity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IReport.Severity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IReport.Severity ERROR
public static final IReport.Severity WARNING
public static final IReport.Severity LOG
public final String name
public static IReport.Severity[] values()
for (IReport.Severity c : IReport.Severity.values()) System.out.println(c);
public static IReport.Severity 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 toString()
toString
in class Enum<IReport.Severity>