javatools.administrative
Enum Announce.Level
java.lang.Object
java.lang.Enum<Announce.Level>
javatools.administrative.Announce.Level
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Announce.Level>
- Enclosing class:
- Announce
public static enum Announce.Level
- extends java.lang.Enum<Announce.Level>
Log level
Method Summary |
static Announce.Level |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Announce.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 |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
MUTE
public static final Announce.Level MUTE
ERROR
public static final Announce.Level ERROR
WARNING
public static final Announce.Level WARNING
STATE
public static final Announce.Level STATE
MESSAGES
public static final Announce.Level MESSAGES
DETAILSTATE
public static final Announce.Level DETAILSTATE
DETAILMESSAGES
public static final Announce.Level DETAILMESSAGES
DEBUG
public static final Announce.Level DEBUG
values
public static Announce.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 (Announce.Level c : Announce.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 Announce.Level 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