org.lyra
Enum Ledger.Levels

java.lang.Object
  extended by java.lang.Enum<Ledger.Levels>
      extended by org.lyra.Ledger.Levels
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Ledger.Levels>
Enclosing class:
Ledger

private static enum Ledger.Levels
extends java.lang.Enum<Ledger.Levels>


Enum Constant Summary
CONFIG
           
FINE
           
FINEST
           
INFO
           
SEVERE
           
WARNING
           
 
Method Summary
static Ledger.Levels valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Ledger.Levels[] 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

SEVERE

public static final Ledger.Levels SEVERE

WARNING

public static final Ledger.Levels WARNING

INFO

public static final Ledger.Levels INFO

CONFIG

public static final Ledger.Levels CONFIG

FINE

public static final Ledger.Levels FINE

FINEST

public static final Ledger.Levels FINEST
Method Detail

values

public static Ledger.Levels[] 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 (Ledger.Levels c : Ledger.Levels.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Ledger.Levels valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null