net.ttddyy.dsproxy.listener
Enum SLF4JLogLevel

java.lang.Object
  extended by java.lang.Enum<SLF4JLogLevel>
      extended by net.ttddyy.dsproxy.listener.SLF4JLogLevel
All Implemented Interfaces:
Serializable, Comparable<SLF4JLogLevel>

public enum SLF4JLogLevel
extends Enum<SLF4JLogLevel>

SLF4J log level representation.

Author:
Tadaya Tsuyukubo

Enum Constant Summary
DEBUG
           
ERROR
           
INFO
           
TRACE
           
WARN
           
 
Method Summary
static SLF4JLogLevel nullSafeValueOf(String name)
           
static SLF4JLogLevel valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SLF4JLogLevel[] 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

DEBUG

public static final SLF4JLogLevel DEBUG

ERROR

public static final SLF4JLogLevel ERROR

INFO

public static final SLF4JLogLevel INFO

TRACE

public static final SLF4JLogLevel TRACE

WARN

public static final SLF4JLogLevel WARN
Method Detail

values

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

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

valueOf

public static SLF4JLogLevel valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

nullSafeValueOf

public static SLF4JLogLevel nullSafeValueOf(String name)


Copyright © 2012. All Rights Reserved.