|
||||||||||
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.TimestampEqualsRule
public class TimestampEqualsRule
A Rule class implementing equality evaluation for timestamps.
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.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 value)
value
- string representation of date.
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 |