|
||||||||||
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
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 |
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 getFilters()
public String toString()
toString
in class Object
public int hashCode()
hashCode
in class Object
public boolean equals(Object aObject)
equals
in class Object
public boolean accept(AuditEvent aEvent)
accept
in interface Filter
aEvent
- 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 |