de.novanic.eventservice.client.event.filter
Interface CascadingEventFilter
- All Superinterfaces:
- AppendableEventFilter, EventFilter, java.io.Serializable
- All Known Implementing Classes:
- DefaultEventFilter
public interface CascadingEventFilter
- extends AppendableEventFilter
A CascadingEventFilter is based on cascading filter sequences. An CascadingEventFilter can only hold one next
EventFilter. When the next EventFilter is also a CascadingEventFilter, it can handle another EventFilter...
That technique can be used to build filter sequences (cascading).
A other solution to build filter sequences is available with CompositeEventFilter
or rather EventFilterFactory.connect(EventFilter...).
- Author:
- sstrohschein
Date: 05.03.2009
Time: 12:04:03
| Methods inherited from interface de.novanic.eventservice.client.event.filter.EventFilter |
match |
getAttachedEventFilter
EventFilter getAttachedEventFilter()
- Returns the attached EventFilter. A CascadingEventFilter can only hold one
EventFilter.
EventFilter instances can be attached with AppendableEventFilter.attach(EventFilter).
- Returns:
- the attached
EventFilter
detach
boolean detach()
- Detaches the attached
EventFilter. A CascadingEventFilter can
only hold one EventFilter.
EventFilter instances can be attached with AppendableEventFilter.attach(EventFilter).
- Returns:
- true if an EventFilter was registered, otherwise false