com.puppycrawl.tools.checkstyle.api
Class FilterSet
java.lang.Object
com.puppycrawl.tools.checkstyle.api.FilterSet
- Filter
public class FilterSet
extends java.lang.Object
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.
- Rick Giles
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)
java.lang.Object.equals(java.lang.Object)
getFilters
protected Set getFilters()
Returns the Filters of the filter set.
- the Filters of the filter set.
hashCode
public int hashCode()
java.lang.Object.hashCode()
removeFilter
public void removeFilter(Filter aFilter)
Removes filter.
aFilter
- filter to remove.
toString
public String toString()
java.lang.Object.toString()