Class FilterSet
- java.lang.Object
-
- com.puppycrawl.tools.checkstyle.api.FilterSet
-
-
Constructor Summary
Constructors Constructor Description FilterSet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accept(AuditEvent event)
Determines whether or not a filtered AuditEvent is accepted.void
addFilter(Filter filter)
Adds a Filter to the set.void
clear()
Clears the FilterSet.Set<Filter>
getFilters()
Returns the Filters of the filter set.void
removeFilter(Filter filter)
Removes filter.String
toString()
-
-
-
Constructor Detail
-
FilterSet
public FilterSet()
-
-
Method Detail
-
addFilter
public void addFilter(Filter filter)
Adds a Filter to the set.- Parameters:
filter
- the Filter to add.
-
removeFilter
public void removeFilter(Filter filter)
Removes filter.- Parameters:
filter
- filter to remove.
-
getFilters
public Set<Filter> getFilters()
Returns the Filters of the filter set.- Returns:
- the Filters of the filter set.
-
accept
public boolean accept(AuditEvent event)
Description copied from interface:Filter
Determines whether or not a filtered AuditEvent is accepted.
-
clear
public void clear()
Clears the FilterSet.
-
-