Enum Constant and Description |
---|
Debug |
Error |
Info |
Silent |
Trace |
Warn |
Modifier and Type | Field and Description |
---|---|
int |
importance |
Modifier and Type | Method and Description |
---|---|
static Verbosity |
fromImportance(int importance) |
static Verbosity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Verbosity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Verbosity Debug
public static final Verbosity Error
public static final Verbosity Info
public static final Verbosity Silent
public static final Verbosity Trace
public static final Verbosity Warn
public static Verbosity fromImportance(int importance)
public static Verbosity 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 static Verbosity[] values()
for (Verbosity c : Verbosity.values()) System.out.println(c);