fr.umlv.tatoo.cc.common.log
Enum DiagnosticReporter.Level

java.lang.Object
  extended by java.lang.Enum<DiagnosticReporter.Level>
      extended by 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>


Enum Constant Summary
DEBUG
           
ERROR
           
INFO
           
NONE
           
WARNING
           
 
Method Summary
static DiagnosticReporter.Level valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DiagnosticReporter.Level[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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