|
Wildfire 3.2.4 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jivesoftware.util.log.filter.AbstractFilterTarget
public abstract class AbstractFilterTarget
Abstract implementation of FilterTarget. A concrete implementation has to implement filter method.
Constructor Summary | |
---|---|
AbstractFilterTarget()
|
Method Summary | |
---|---|
void |
addTarget(LogTarget target)
Add a new target to output chain. |
protected abstract boolean |
filter(LogEvent event)
Filter the log event. |
void |
processEvent(LogEvent event)
Process a log event |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractFilterTarget()
Method Detail |
---|
public void addTarget(LogTarget target)
addTarget
in interface FilterTarget
target
- the targetprotected abstract boolean filter(LogEvent event)
event
- the event
public void processEvent(LogEvent event)
processEvent
in interface LogTarget
event
- the log event
|
Wildfire 3.2.4 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |