|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.puppycrawl.tools.checkstyle.api.FilterSet
public class FilterSet
A filter set applies filters to AuditEvents. If a filter in the set rejects an AuditEvent, then the AuditEvent is rejected. Otherwise, the AuditEvent is accepted.
| Constructor Summary | |
|---|---|
FilterSet()
|
|
| Method Summary | |
|---|---|
boolean |
accept(AuditEvent aEvent)
Determines whether or not a filtered AuditEvent is accepted. |
void |
addFilter(Filter aFilter)
Adds a Filter to the set. |
void |
clear()
Clears the FilterSet. |
boolean |
equals(Object aObject)
|
protected Set<Filter> |
getFilters()
Returns the Filters of the filter set. |
int |
hashCode()
|
void |
removeFilter(Filter aFilter)
Removes filter. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FilterSet()
| Method Detail |
|---|
public void addFilter(Filter aFilter)
aFilter - the Filter to add.public void removeFilter(Filter aFilter)
aFilter - filter to remove.protected Set<Filter> getFilters()
public String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object aObject)
equals in class Objectpublic boolean accept(AuditEvent aEvent)
accept in interface FilteraEvent - the AudtiEvent to filter.
public void clear()
|
Back to the Checkstyle Home Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||