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 750267 2009-03-05 01:09:25Z ogusakov $
- Author:
- Oleg Gusakov
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 |
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 MercuryLoggingLevelEnum[] 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 (MercuryLoggingLevelEnum c : MercuryLoggingLevelEnum.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are 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
java.lang.NullPointerException
- if the argument is null
Copyright © 2002-2010 Apache Software Foundation. All Rights Reserved.