org.lyra
Enum Ledger.Levels
java.lang.Object
java.lang.Enum<Ledger.Levels>
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>
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 |
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
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