org.apache.maven.mercury.logging
Enum MercuryLoggingLevelEnum
java.lang.Object
java.lang.Enum<MercuryLoggingLevelEnum>
org.apache.maven.mercury.logging.MercuryLoggingLevelEnum
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<MercuryLoggingLevelEnum>
public enum MercuryLoggingLevelEnum
- extends java.lang.Enum<MercuryLoggingLevelEnum>
- Version:
- $Id: MercuryLoggingLevelEnum.java 720564 2008-11-25 18:58:02Z ogusakov $
- Author:
- Oleg Gusakov
| Methods inherited from class java.lang.Enum |
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
debug
public static final MercuryLoggingLevelEnum debug
info
public static final MercuryLoggingLevelEnum info
warn
public static final MercuryLoggingLevelEnum warn
error
public static final MercuryLoggingLevelEnum error
fatal
public static final MercuryLoggingLevelEnum fatal
disabled
public static final MercuryLoggingLevelEnum disabled
DEFAULT_LEVEL
public static final MercuryLoggingLevelEnum DEFAULT_LEVEL
values
public static final MercuryLoggingLevelEnum[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(MercuryLoggingLevelEnum c : MercuryLoggingLevelEnum.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static MercuryLoggingLevelEnum 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
Copyright © 2002-2008 The Apache Software Foundation. All Rights Reserved.