org.quattor.pan
Enum CompilerLogging.LoggingType

java.lang.Object
  extended by java.lang.Enum<CompilerLogging.LoggingType>
      extended by org.quattor.pan.CompilerLogging.LoggingType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<CompilerLogging.LoggingType>
Enclosing class:
CompilerLogging

public static enum CompilerLogging.LoggingType
extends java.lang.Enum<CompilerLogging.LoggingType>

This enumeration identifies the types of logging that can be turned or off. Note that the order of the enumeration is important as they will be activated in the given order. This allows NONE to turn off all logging no matter what the order of the values and INCLUDE to defer to CALL or ALL if specified.

Author:
loomis

Enum Constant Summary
ALL
           
CALL
           
INCLUDE
           
MEMORY
           
NONE
           
TASK
           
 
Method Summary
 void activate()
           
abstract  java.util.logging.Logger logger()
           
static CompilerLogging.LoggingType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static CompilerLogging.LoggingType[] 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

TASK

public static final CompilerLogging.LoggingType TASK

INCLUDE

public static final CompilerLogging.LoggingType INCLUDE

CALL

public static final CompilerLogging.LoggingType CALL

MEMORY

public static final CompilerLogging.LoggingType MEMORY

ALL

public static final CompilerLogging.LoggingType ALL

NONE

public static final CompilerLogging.LoggingType NONE
Method Detail

values

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

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

valueOf

public static CompilerLogging.LoggingType 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

logger

public abstract java.util.logging.Logger logger()

activate

public void activate()


Copyright © 2011 Quattor. All Rights Reserved.