|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.log4j.rule.AbstractRule
org.apache.log4j.rule.PartialTextMatchRule
public class PartialTextMatchRule
A Rule class implementing case-insensitive partial-text matches against two strings.
| Method Summary | |
|---|---|
boolean |
evaluate(org.apache.log4j.spi.LoggingEvent event)
Returns true if this implementation of the rule accepts the LoggingEvent, or false if not. |
static Rule |
getRule(java.util.Stack stack)
Create new instance from top two elements of stack. |
static Rule |
getRule(java.lang.String field,
java.lang.String value)
Create new instance. |
| Methods inherited from class org.apache.log4j.rule.AbstractRule |
|---|
addPropertyChangeListener, firePropertyChange, firePropertyChange, removePropertyChangeListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Rule getRule(java.lang.String field,
java.lang.String value)
field - fieldvalue - value
public static Rule getRule(java.util.Stack stack)
stack - stack
public boolean evaluate(org.apache.log4j.spi.LoggingEvent event)
What True/False means can be client-specific.
event - LoggingEvent this instance will evaluate
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||