RbUtils 0.13

org.ktc.rbutils.rb
Class LoggerType

java.lang.Object
  extended by org.apache.commons.lang.enums.Enum
      extended by org.ktc.rbutils.rb.LoggerType
All Implemented Interfaces:
Serializable, Comparable

public final class LoggerType
extends Enum

Enumerated attribute for RbUtils logger type.

Since:
RbUtils 0.9.3.3
Version:
$Revision: 1.1 $
Author:
moishi
See Also:
Serialized Form

Field Summary
static LoggerType PLAIN
          Enum value for a plain logger.
static String PLAIN_STRING
          String value for a plain logger.
static LoggerType QUIET
          Enum value for a quiet logger.
static String QUIET_STRING
          String value for a quiet logger.
static LoggerType XML
          Enum value for an xml logger.
static String XML_STRING
          String value for an xml logger.
 
Fields inherited from class org.apache.commons.lang.enums.Enum
iToString
 
Method Summary
static LoggerType getEnum(String loggerType)
          Returns an instance of LoggerType according to a String representation.
static List getEnumList()
          Gets the List of LoggerType objects.
static boolean isLoggerTypeValue(String loggerType)
          Indicates if the argument is a logger type value.
 
Methods inherited from class org.apache.commons.lang.enums.Enum
compareTo, equals, getEnum, getEnumClass, getEnumList, getEnumMap, getName, hashCode, iterator, readResolve, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

PLAIN_STRING

public static final String PLAIN_STRING
String value for a plain logger.

See Also:
Constant Field Values

PLAIN

public static final LoggerType PLAIN
Enum value for a plain logger.


QUIET_STRING

public static final String QUIET_STRING
String value for a quiet logger.

See Also:
Constant Field Values

QUIET

public static final LoggerType QUIET
Enum value for a quiet logger.


XML_STRING

public static final String XML_STRING
String value for an xml logger.

See Also:
Constant Field Values

XML

public static final LoggerType XML
Enum value for an xml logger.

Method Detail

isLoggerTypeValue

public static boolean isLoggerTypeValue(String loggerType)
Indicates if the argument is a logger type value.

Parameters:
loggerType - type value to be checked.
Returns:
true if the argument is a logger type value; otherwise returns false.

getEnum

public static LoggerType getEnum(String loggerType)
Returns an instance of LoggerType according to a String representation.

Parameters:
loggerType - the String representation to be used to create the LoggerType.
Returns:
the logger type if the argument is a logger type String value; null otherwise.

getEnumList

public static List getEnumList()
Gets the List of LoggerType objects.

Returns:
the List.
See Also:
Enum.getEnumList(java.lang.Class)

Back to the RbUtils Home Page

Copyright © 2005-2009 RbUtils Project. All Rights Reserved.