Package org.apache.log4j.rule

Interface Summary
Rule A Rule evaluates to true of false given a LoggingEvent object, and can notify listeners when the underlying implementation of this Rule has it's criteria changed by using the standard PropertyChangeListener infrastructure.
 

Class Summary
AbstractRule An abstract Rule class that provides the PropertyChange support plumbing.
AndRule A Rule class implementing a logical 'and'.
ColorRule A Rule class which also holds a color.
EqualsRule A Rule class which returns the result of performing equals against two strings.
ExistsRule A Rule class implementing a not null (and not empty string) check.
ExpressionRule A Rule class supporting both infix and postfix expressions, accepting any rule which is supported by the RuleFactory.
InequalityRule A Rule class implementing inequality evaluation.
InFixToPostFix A helper class which converts infix expressions to postfix expressions Currently grouping is supported, as well as all of the Rules supported by RuleFactory Supports grouping via parens, mult-word operands using single or double quotes, and these operators: ! NOT operator != NOT EQUALS operator == EQUALS operator ~= CASE-INSENSITIVE equals operator || OR operator && AND operator like REGEXP operator exists NOT NULL operator < LESS THAN operator > GREATER THAN operator <= LESS THAN EQUALS operator >= GREATER THAN EQUALS operator
InFixToPostFix.CustomTokenizer  
LevelEqualsRule A Rule class implementing equals against two levels.
LevelInequalityRule A Rule class implementing inequality evaluation for Levels (log4j and util.logging) using the toInt method.
LikeRule A Rule class supporting java.util.regex regular expression syntax.
NotEqualsRule A Rule class implementing not equals against two strings.
NotLevelEqualsRule A Rule class implementing not equals against two levels.
NotRule A Rule class implementing logical not.
OrRule A Rule class implementing logical or.
PartialTextMatchRule A Rule class implementing case-insensitive partial-text matches against two strings.
RuleFactory A Factory class which, given a string representation of the rule, and a context stack, will return a Rule ready for evaluation against events.
TimestampEqualsRule A Rule class implementing equality evaluation for timestamps.
TimestampInequalityRule A Rule class implementing inequality evaluation for timestamps.
 



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.