Package | Description |
---|---|
org.apache.log4j.rule |
Modifier and Type | Class and Description |
---|---|
class |
AbstractRule
An abstract Rule class that provides the PropertyChange support plumbing.
|
class |
AndRule
A Rule class implementing a logical 'and'.
|
class |
ColorRule
A Rule class which also holds a color.
|
class |
EqualsRule
A Rule class which returns the result of
performing equals against two strings.
|
class |
ExistsRule
A Rule class implementing a not null (and not empty string) check.
|
class |
ExpressionRule
A Rule class supporting both infix and postfix expressions,
accepting any rule which
is supported by the
RuleFactory . |
class |
InequalityRule
A Rule class implementing inequality evaluation.
|
class |
LevelEqualsRule
A Rule class implementing equals against two levels.
|
class |
LikeRule
A Rule class supporting java.util.regex regular expression syntax.
|
class |
NotEqualsRule
A Rule class implementing not equals against two strings.
|
class |
NotLevelEqualsRule
A Rule class implementing not equals against two levels.
|
class |
NotRule
A Rule class implementing logical not.
|
class |
OrRule
A Rule class implementing logical or.
|
class |
PartialTextMatchRule
A Rule class implementing case-insensitive
partial-text matches against two strings.
|
class |
TimestampEqualsRule
A Rule class implementing equality evaluation for timestamps.
|
class |
TimestampInequalityRule
A Rule class implementing inequality evaluation for timestamps.
|
Modifier and Type | Method and Description |
---|---|
Rule |
ColorRule.getRule()
Get rule.
|
static Rule |
NotRule.getRule(Rule rule)
Create new instance.
|
static Rule |
OrRule.getRule(Rule firstParam,
Rule secondParam)
Create new instance.
|
static Rule |
AndRule.getRule(Rule firstParam,
Rule secondParam)
Get rule.
|
static Rule |
PartialTextMatchRule.getRule(Stack stack)
Create new instance from top two elements of stack.
|
static Rule |
OrRule.getRule(Stack stack)
Create new instance from top two elements of stack.
|
static Rule |
NotRule.getRule(Stack stack)
Create new instance from top element of stack.
|
static Rule |
NotEqualsRule.getRule(Stack stack)
Get new instance from top two elements of stack.
|
static Rule |
LikeRule.getRule(Stack stack)
Create new instance from top two elements of stack.
|
static Rule |
ExistsRule.getRule(Stack stack)
Create an instance of ExistsRule using the
top name on the stack.
|
static Rule |
EqualsRule.getRule(Stack stack)
Create new instance from top two elements of stack.
|
static Rule |
AndRule.getRule(Stack stack)
Create rule from top two elements of stack.
|
static Rule |
TimestampEqualsRule.getRule(String value)
Create new instance.
|
static Rule |
NotLevelEqualsRule.getRule(String value)
Create new rule.
|
static Rule |
LevelEqualsRule.getRule(String value)
Create new rule.
|
static Rule |
ExpressionRule.getRule(String expression)
Get rule.
|
static Rule |
ExistsRule.getRule(String field)
Get an instance of ExistsRule.
|
static Rule |
ExpressionRule.getRule(String expression,
boolean isPostFix)
Get rule.
|
Rule |
RuleFactory.getRule(String symbol,
Stack stack)
Create rule from applying operator to stack.
|
static Rule |
InequalityRule.getRule(String inequalitySymbol,
Stack stack)
Create new instance from top two elements on stack.
|
static Rule |
TimestampInequalityRule.getRule(String inequalitySymbol,
String value)
Create new instance.
|
static Rule |
PartialTextMatchRule.getRule(String field,
String value)
Create new instance.
|
static Rule |
NotEqualsRule.getRule(String field,
String value)
Get new instance.
|
static Rule |
LikeRule.getRule(String field,
String pattern)
Create new instance.
|
static Rule |
LevelInequalityRule.getRule(String inequalitySymbol,
String value)
Create new rule.
|
static Rule |
EqualsRule.getRule(String p1,
String p2)
Create new instance.
|
static Rule |
InequalityRule.getRule(String inequalitySymbol,
String field,
String value)
Create new instance from top two elements on stack.
|
Modifier and Type | Method and Description |
---|---|
static Rule |
NotRule.getRule(Rule rule)
Create new instance.
|
static Rule |
OrRule.getRule(Rule firstParam,
Rule secondParam)
Create new instance.
|
static Rule |
AndRule.getRule(Rule firstParam,
Rule secondParam)
Get rule.
|
Constructor and Description |
---|
ColorRule(String expression,
Rule rule,
Color backgroundColor,
Color foregroundColor)
Create new instance.
|
Copyright © 2013 The Apache Software Foundation. Licensed under the Apache License, Version 2.0
Apache Extras for Apache log4j, Apache log4j and Apache are trademarks of the Apache Software Foundation.