|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.puppycrawl.tools.checkstyle.api.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(java.lang.Object aObject)
|
protected java.util.Set |
getFilters()
Returns the Filters of the filter set. |
int |
hashCode()
|
void |
removeFilter(Filter aFilter)
Removes filter. |
java.lang.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 java.util.Set getFilters()
public java.lang.String toString()
Object.toString()
public int hashCode()
Object.hashCode()
public boolean equals(java.lang.Object aObject)
Object.equals(java.lang.Object)
public boolean accept(AuditEvent aEvent)
Filter
accept
in interface Filter
aEvent
- the AudtiEvent to filter.
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 |