messif.utility
Enum Logging.RegexpFilterAgainst

java.lang.Object
  extended by java.lang.Enum<Logging.RegexpFilterAgainst>
      extended by messif.utility.Logging.RegexpFilterAgainst
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Logging.RegexpFilterAgainst>
Enclosing class:
Logging

public static enum Logging.RegexpFilterAgainst
extends java.lang.Enum<Logging.RegexpFilterAgainst>

Enumeration of possible regexp matcher targets for Logging.addLogFile(java.lang.String, java.util.logging.Level, boolean, java.util.logging.Formatter, java.lang.String, messif.utility.Logging.RegexpFilterAgainst).


Enum Constant Summary
CLASS_NAME
          The regular expression is matched against the name of the class from which the log record was invoked
LOGGER_NAME
          The regular expression is matched against the name of the logger that was used to dispatch the log record
MESSAGE
          The regular expression is matched against the record's text (the message that is logged)
METHOD_NAME
          The regular expression is matched against the name of the method that from which the log record was invoked
 
Method Summary
static Logging.RegexpFilterAgainst valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Logging.RegexpFilterAgainst[] 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

MESSAGE

public static final Logging.RegexpFilterAgainst MESSAGE
The regular expression is matched against the record's text (the message that is logged)


LOGGER_NAME

public static final Logging.RegexpFilterAgainst LOGGER_NAME
The regular expression is matched against the name of the logger that was used to dispatch the log record


CLASS_NAME

public static final Logging.RegexpFilterAgainst CLASS_NAME
The regular expression is matched against the name of the class from which the log record was invoked


METHOD_NAME

public static final Logging.RegexpFilterAgainst METHOD_NAME
The regular expression is matched against the name of the method that from which the log record was invoked

Method Detail

values

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

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

valueOf

public static Logging.RegexpFilterAgainst 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