Interface Filter
-
- All Known Implementing Classes:
FilterSet
,SeverityMatchFilter
,SuppressFilterElement
,SuppressionFilter
,SuppressionSingleFilter
,SuppressWarningsFilter
,SuppressWithNearbyTextFilter
,SuppressWithPlainTextCommentFilter
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface Filter
An interface for filtering AuditEvents.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
accept(AuditEvent event)
Determines whether or not a filtered AuditEvent is accepted.
-
-
-
Method Detail
-
accept
boolean accept(AuditEvent event)
Determines whether or not a filtered AuditEvent is accepted.- Parameters:
event
- the AuditEvent to filter.- Returns:
- true if the event is accepted.
-
-