com.avaje.ebean
Enum AdminLogging.LogLevel

java.lang.Object
  extended by java.lang.Enum<AdminLogging.LogLevel>
      extended by com.avaje.ebean.AdminLogging.LogLevel
All Implemented Interfaces:
Serializable, Comparable<AdminLogging.LogLevel>
Enclosing interface:
AdminLogging

public static enum AdminLogging.LogLevel
extends Enum<AdminLogging.LogLevel>

The transaction logging level.

Defines which transactions will log.


Enum Constant Summary
ALL
          Transaction logging for all types of transactions.
EXPLICIT
          Transaction logging only for explicit transactions.
NONE
          No transaction logging.
 
Method Summary
static AdminLogging.LogLevel valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AdminLogging.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
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NONE

public static final AdminLogging.LogLevel NONE
No transaction logging.


EXPLICIT

public static final AdminLogging.LogLevel EXPLICIT
Transaction logging only for explicit transactions.


ALL

public static final AdminLogging.LogLevel ALL
Transaction logging for all types of transactions.

Method Detail

values

public static AdminLogging.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 (AdminLogging.LogLevel c : AdminLogging.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 AdminLogging.LogLevel 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


Copyright © 2010. All Rights Reserved.