public enum ReportLevel extends java.lang.Enum<ReportLevel>
Enum Constant and Description |
---|
All
Report events from all levels.
|
Error
Report only events with the status Error.
|
Off
Disable all report levels.
|
Warning
Report only events with the status Warning or Error.
|
Modifier and Type | Method and Description |
---|---|
static ReportLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ReportLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReportLevel All
public static final ReportLevel Warning
public static final ReportLevel Error
public static final ReportLevel Off
public static ReportLevel[] values()
for (ReportLevel c : ReportLevel.values()) System.out.println(c);
public static ReportLevel 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 null