org.apithefire.sql.h2
Enum TraceLevel

java.lang.Object
  extended by java.lang.Enum<TraceLevel>
      extended by org.apithefire.sql.h2.TraceLevel
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TraceLevel>

public enum TraceLevel
extends java.lang.Enum<TraceLevel>

A trace level.

Author:
Chew Boon Aik
See Also:
Using the Trace Options

Enum Constant Summary
DEBUG
          Debug trace level.
ERROR
          Error trace level.
INFO
          Info trace level.
OFF
          No tracing.
SLF4J
          Use SLF4J logging.
 
Method Summary
protected  int getParameterValue()
           
static TraceLevel valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TraceLevel[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
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
 

Enum Constant Detail

OFF

public static final TraceLevel OFF
No tracing.


ERROR

public static final TraceLevel ERROR
Error trace level.


INFO

public static final TraceLevel INFO
Info trace level.


DEBUG

public static final TraceLevel DEBUG
Debug trace level.


SLF4J

public static final TraceLevel SLF4J
Use SLF4J logging.

Method Detail

values

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

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

valueOf

public static TraceLevel 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

getParameterValue

protected int getParameterValue()


Copyright © 2008. All Rights Reserved.