de.novanic.eventservice.client.event.filter
Interface EventFilter
- All Superinterfaces:
- java.io.Serializable
- All Known Subinterfaces:
- AppendableEventFilter, CascadingEventFilter, CompositeEventFilter
- All Known Implementing Classes:
- DefaultCompositeEventFilter, DefaultEventFilter, UnlistenEventFilter
public interface EventFilter
- extends java.io.Serializable
An EventFilter can be used to filter events. When an event is filtered, the user/client shouldn't be informed about
the event. EventFilters are useful when the filter function for domains/contexts is to common.
- Author:
- sstrohschein
Date: 05.06.2008
Time: 19:09:11
|
Method Summary |
boolean |
match(Event anEvent)
If the match method returns true for an event, the event should be ignored, because the EventFilter recognizes
the event to filter it. |
match
boolean match(Event anEvent)
- If the match method returns true for an event, the event should be ignored, because the EventFilter recognizes
the event to filter it.
- Parameters:
anEvent - event to check
- Returns:
- true when the event should be filtered, otherwise false