com.puppycrawl.tools.checkstyle.api
Class FilterSet
- Filter
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.
addFilter
public void addFilter(Filter aFilter)
Adds a Filter to the set.
aFilter
- the Filter to add.
clear
public void clear()
Clears the FilterSet.
equals
public boolean equals(Object aObject)
getFilters
protected Set getFilters()
Returns the Filters of the filter set.
- the Filters of the filter set.
hashCode
public int hashCode()
removeFilter
public void removeFilter(Filter aFilter)
Removes filter.
aFilter
- filter to remove.
toString
public String toString()