com.atlassian.confluence.util.test.rules
Enum Log4JLogger.LogLevel

java.lang.Object
  extended by java.lang.Enum<Log4JLogger.LogLevel>
      extended by com.atlassian.confluence.util.test.rules.Log4JLogger.LogLevel
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Log4JLogger.LogLevel>
Enclosing class:
Log4JLogger

public static enum Log4JLogger.LogLevel
extends java.lang.Enum<Log4JLogger.LogLevel>


Enum Constant Summary
ALL
           
DEBUG
           
ERROR
           
FATAL
           
INFO
           
OFF
           
TRACE
           
WARN
           
 
Method Summary
static Log4JLogger.LogLevel valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Log4JLogger.LogLevel[] 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

OFF

public static final Log4JLogger.LogLevel OFF

FATAL

public static final Log4JLogger.LogLevel FATAL

ERROR

public static final Log4JLogger.LogLevel ERROR

WARN

public static final Log4JLogger.LogLevel WARN

INFO

public static final Log4JLogger.LogLevel INFO

DEBUG

public static final Log4JLogger.LogLevel DEBUG

TRACE

public static final Log4JLogger.LogLevel TRACE

ALL

public static final Log4JLogger.LogLevel ALL
Method Detail

values

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

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

valueOf

public static Log4JLogger.LogLevel 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 © 2003-2014 Atlassian. All Rights Reserved.