org.apache.log4j.rule
Class LevelInequalityRule

java.lang.Object
  extended by org.apache.log4j.rule.LevelInequalityRule

public class LevelInequalityRule
extends java.lang.Object

A Rule class implementing inequality evaluation for Levels (log4j and util.logging) using the toInt method.

Author:
Scott Deboy (sdeboy@apache.org)

Method Summary
static Rule getRule(java.lang.String inequalitySymbol, java.lang.String value)
          Create new rule.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getRule

public static Rule getRule(java.lang.String inequalitySymbol,
                           java.lang.String value)
Create new rule.

Parameters:
inequalitySymbol - inequality symbol.
value - Symbolic name of comparison level.
Returns:
instance of AbstractRule.


Copyright © 2010 The Apache Software Foundation. Licensed under the Apache License, Version 2.0

Apache Extras Companion for Apache log4j, Apache log4j and Apache are trademarks of the Apache Software Foundation.