|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.logging.log4j.core.filter.AbstractFilterable
public abstract class AbstractFilterable
Enhances a Class by allowing it to contain Filters.
| Constructor Summary | |
|---|---|
protected |
AbstractFilterable()
|
protected |
AbstractFilterable(Filter filter)
|
| Method Summary | |
|---|---|
void |
addFilter(Filter filter)
Add a filter. |
Filter |
getFilter()
Returns the Filter. |
boolean |
hasFilter()
Determines if a Filter is present. |
boolean |
isFiltered(LogEvent event)
Determine if the LogEvent should be processed or ignored. |
void |
removeFilter(Filter filter)
Remove a Filter. |
void |
startFilter()
Make the Filter available for use. |
void |
stopFilter()
Cleanup the Filter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractFilterable(Filter filter)
protected AbstractFilterable()
| Method Detail |
|---|
public Filter getFilter()
getFilter in interface Filterablepublic void addFilter(Filter filter)
addFilter in interface Filterablefilter - The Filter to add.public void removeFilter(Filter filter)
removeFilter in interface Filterablefilter - The Filter to remove.public boolean hasFilter()
hasFilter in interface Filterablepublic void startFilter()
public void stopFilter()
public boolean isFiltered(LogEvent event)
isFiltered in interface Filterableevent - The LogEvent.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||