|
||||||||||
| 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.
| Field Summary | |
|---|---|
protected static Logger |
LOGGER
|
| 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 |
| Field Detail |
|---|
protected static final Logger LOGGER
| 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 | |||||||||
Copyright © 1999-2013 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.