fr.umlv.tatoo.cc.common.log
Enum DiagnosticReporter.Level
java.lang.Object
java.lang.Enum<DiagnosticReporter.Level>
fr.umlv.tatoo.cc.common.log.DiagnosticReporter.Level
- All Implemented Interfaces:
- Serializable, Comparable<DiagnosticReporter.Level>
- Enclosing interface:
- DiagnosticReporter
public static enum DiagnosticReporter.Level
- extends Enum<DiagnosticReporter.Level>
ERROR
public static final DiagnosticReporter.Level ERROR
WARNING
public static final DiagnosticReporter.Level WARNING
INFO
public static final DiagnosticReporter.Level INFO
DEBUG
public static final DiagnosticReporter.Level DEBUG
NONE
public static final DiagnosticReporter.Level NONE
values
public static DiagnosticReporter.Level[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (DiagnosticReporter.Level c : DiagnosticReporter.Level.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static DiagnosticReporter.Level valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null