public class EventFilter
extends java.lang.Object
Constructor and Description |
---|
EventFilter(java.lang.String userGroups)
builds a new instance of a
EventFilter -object by defining a
set of user groups. |
Modifier and Type | Method and Description |
---|---|
boolean |
matches(Event event)
checks whether an event matches the filter definitions.
|
public EventFilter(java.lang.String userGroups)
EventFilter
-object by defining a
set of user groups.userGroups
- a string with the collections to be taken into account,
separated by blankspublic boolean matches(Event event)
event
- an event to be tested