Uses of Interface
de.aristaflow.adept2.model.events.handler.EventHandler
-
-
Uses of EventHandler in de.aristaflow.adept2.core.eventmanager
Methods in de.aristaflow.adept2.core.eventmanager that return EventHandler Modifier and Type Method Description EventHandler
EventManager. addEventHandler(SessionToken session, String eventType, String sourceType, EventHandler handler, int index)
Adds the designated event handler to the designated event type and event source at the designated position.EventHandler
EventManager. addEventHandler(SessionToken session, String eventType, String sourceType, String handlerID, int index)
Adds an event handler having the designated ID to the designated event type and event source at the designated position.EventHandler
EventManager. removeEventHandler(SessionToken session, String eventType, String sourceType, String handlerID)
Removes the event handler having the designated ID and being registered for the designated event type and event source.Methods in de.aristaflow.adept2.core.eventmanager with parameters of type EventHandler Modifier and Type Method Description EventHandler
EventManager. addEventHandler(SessionToken session, String eventType, String sourceType, EventHandler handler, int index)
Adds the designated event handler to the designated event type and event source at the designated position. -
Uses of EventHandler in de.aristaflow.adept2.core.eventmanager.common
Classes in de.aristaflow.adept2.core.eventmanager.common that implement EventHandler Modifier and Type Class Description class
AbstractActivityEventHandler
This class provides the basic means for an activity event handler, that is, providing the attributes of anEventHandler
as well as declining all signals sent while the handler is executing an activity.class
AbstractEventHandler
This class provides the basic means for an event handler, that is, providing the attributes of anEventHandler
.class
AbstractSharingActEventSource<T extends Event>
A source for events shared among several sharing event sources.Fields in de.aristaflow.adept2.core.eventmanager.common declared as EventHandler Modifier and Type Field Description protected EventHandler
ConcurrentEventHandling. handler
The event handler.Fields in de.aristaflow.adept2.core.eventmanager.common with type parameters of type EventHandler Modifier and Type Field Description protected Map<Pair<String,String>,List<EventHandler>>
AbstractEventManager. handler
All known event handler indexed by the event and source type they are registered for.protected List<EventHandler>
AbstractEventSource. handlerList
All handler registered for this event source.protected Map<EventHandler,Collection<EventSource<?>>>
AbstractEventManager. handlerSource
All handler and the sources they are registered for.Methods in de.aristaflow.adept2.core.eventmanager.common that return EventHandler Modifier and Type Method Description EventHandler
AbstractEventManager. addEventHandler(SessionToken session, String eventType, String sourceType, EventHandler current, int index)
EventHandler
AbstractEventManager. addEventHandler(SessionToken session, String eventType, String sourceType, String handlerID, int index)
protected EventHandler
AbstractEventManager. addEventHandler(SessionToken session, String eventType, String sourceType, String handlerID, EventHandler current, int index)
Adds the designated event handler to the designated event type and source type.EventHandler
AbstractEventManager. removeEventHandler(SessionToken session, String eventType, String sourceType, String handlerID)
EventHandler
AbstractEventSource. removeHandler(String handlerID)
EventHandler
AbstractSharedEventSource. removeHandler(String handlerID)
Methods in de.aristaflow.adept2.core.eventmanager.common that return types with arguments of type EventHandler Modifier and Type Method Description List<EventHandler>
AbstractEventSource. getEventHandler()
List<EventHandler>
AbstractSharedEventSource. getEventHandler()
Methods in de.aristaflow.adept2.core.eventmanager.common with parameters of type EventHandler Modifier and Type Method Description protected void
AbstractEventSource. addedHandlerLocked(int index, EventHandler handler)
Signals subclasses that the designated event handler has been added to this event source at the designated index.protected void
AbstractSharingActEventSource. addedHandlerLocked(int index, EventHandler handler)
EventHandler
AbstractEventManager. addEventHandler(SessionToken session, String eventType, String sourceType, EventHandler current, int index)
protected EventHandler
AbstractEventManager. addEventHandler(SessionToken session, String eventType, String sourceType, String handlerID, EventHandler current, int index)
Adds the designated event handler to the designated event type and source type.void
AbstractEventSource. addHandler(EventHandler handler, int index)
void
AbstractSharedEventSource. addHandler(EventHandler handler, int index)
protected void
AbstractEventSource. removingHandlerLocked(int index, EventHandler handler)
Signals subclasses that the designated event handler is about to be removed from the designated index of the handler list of this event source.protected void
AbstractSharingActEventSource. removingHandlerLocked(int index, EventHandler handler)
Method parameters in de.aristaflow.adept2.core.eventmanager.common with type arguments of type EventHandler Modifier and Type Method Description void
AbstractEventSource. addAll(List<EventHandler> handler)
void
AbstractSharedEventSource. addAll(List<EventHandler> handlers)
protected void
AbstractEventSource. addedHandlerLocked(List<EventHandler> handlers)
Signals subclasses that the designated event handlers have been added to this event source at the end of the list of event handlers.protected void
AbstractSharingActEventSource. addedHandlerLocked(List<EventHandler> handlers)
Constructors in de.aristaflow.adept2.core.eventmanager.common with parameters of type EventHandler Constructor Description ConcurrentEventHandling(EventHandler handler, T event)
Creates a newCallable
for handling an event asynchronously. -
Uses of EventHandler in de.aristaflow.adept2.core.eventmanager.fileevents
Classes in de.aristaflow.adept2.core.eventmanager.fileevents that implement EventHandler Modifier and Type Class Description class
FileEventActivityHandler
An event handler for file events, that stores data from an occurred file event as output parameter in the data context of the corresponding activity.class
FileMarkHandler
An event handler for marking files from file events.class
InstanceStartEventHandler
An event handler for file events, that stores data from an occurred file event as input parameters in the data container of an instance and starts this instance afterwards.class
MarkInstanceStartEventHandler
An event handler for file events, that marks the files (rename, move) and afterwards stores data from an occurred file event as input parameters in the data container of an instance and starts this instance afterwards. -
Uses of EventHandler in de.aristaflow.adept2.core.eventmanager.mailevents
Classes in de.aristaflow.adept2.core.eventmanager.mailevents that implement EventHandler Modifier and Type Class Description class
InstanceStartEventHandler
An event handler for mail events, that stores data from an occurred mail event as input parameters in the data container of an instance and starts this instance afterwards.class
MailEventActivityHandler
An event handler for mail events, that stores data from an occurred mail event as output parameter in the data context of the corresponding activity.class
MailFlagHandler
An event handler for setting flags and/or moving messages from mail events. -
Uses of EventHandler in de.aristaflow.adept2.model.events.handler
Subinterfaces of EventHandler in de.aristaflow.adept2.model.events.handler Modifier and Type Interface Description interface
ActivityEventHandler
AnActivityEventHandler
extends an event handler by the means to combine event handling and activity execution. -
Uses of EventHandler in de.aristaflow.adept2.model.events.sources
Subinterfaces of EventHandler in de.aristaflow.adept2.model.events.sources Modifier and Type Interface Description interface
SharingSource<T extends Event>
A sharing source is an event source that does not poll itself but shares another event source that unifies several sharing sources, polls for them and signals them separately.Methods in de.aristaflow.adept2.model.events.sources that return EventHandler Modifier and Type Method Description EventHandler
EventSource. removeHandler(String handlerID)
Removes the handler with the designated ID from the list and returns it.Methods in de.aristaflow.adept2.model.events.sources that return types with arguments of type EventHandler Modifier and Type Method Description List<EventHandler>
EventSource. getEventHandler()
Gets the event handler that have been registered for this event source.Methods in de.aristaflow.adept2.model.events.sources with parameters of type EventHandler Modifier and Type Method Description void
EventSource. addHandler(EventHandler handler, int index)
Adds the designated handler at the designated position (0-based) to the list of registered handler.Method parameters in de.aristaflow.adept2.model.events.sources with type arguments of type EventHandler Modifier and Type Method Description void
EventSource. addAll(List<EventHandler> handler)
Adds the designated event handler in the designated order to the list of the handler that are already registered.
-