com.avaje.ebean
Enum AdminLogging.LogFileSharing

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

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

Defines if transactions share a single log file or each have their own transaction log file.


Enum Constant Summary
ALL
          All transactions share the same log file.
EXPLICIT
          Explicit transactions each have their own transaction log file and implicit transaction all share a common log file.
NONE
          Every transaction has its own log file.
 
Method Summary
static AdminLogging.LogFileSharing valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AdminLogging.LogFileSharing[] 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.LogFileSharing NONE
Every transaction has its own log file.


EXPLICIT

public static final AdminLogging.LogFileSharing EXPLICIT
Explicit transactions each have their own transaction log file and implicit transaction all share a common log file.


ALL

public static final AdminLogging.LogFileSharing ALL
All transactions share the same log file.

Method Detail

values

public static AdminLogging.LogFileSharing[] 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.LogFileSharing c : AdminLogging.LogFileSharing.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.LogFileSharing 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.