de.novanic.eventservice.client.event.filter
Interface AppendableEventFilter

All Superinterfaces:
EventFilter, java.io.Serializable
All Known Subinterfaces:
CascadingEventFilter, CompositeEventFilter
All Known Implementing Classes:
DefaultCompositeEventFilter, DefaultEventFilter

public interface AppendableEventFilter
extends EventFilter

AppendableEventFilter ensures that the EventFilter can handle more attached EventFilter instances. Depending on the implementation of the AppendableEventFilter, the method EventFilter.match(de.novanic.eventservice.client.event.Event) of the super class must be called first, when the method is overwritten.

Author:
sstrohschein
Date: 04.03.2009
Time: 20:18:01

Method Summary
 AppendableEventFilter attach(EventFilter anEventFilter)
          Appends another EventFilter which should also be used/called from the match method (EventFilter.match(de.novanic.eventservice.client.event.Event)).
 
Methods inherited from interface de.novanic.eventservice.client.event.filter.EventFilter
match
 

Method Detail

attach

AppendableEventFilter attach(EventFilter anEventFilter)
Appends another EventFilter which should also be used/called from the match method (EventFilter.match(de.novanic.eventservice.client.event.Event)).

Parameters:
anEventFilter - EventFilter to attach
Returns:
the created AppendableEventFilter (to attach more EventFilter instances)