Uses of Interface
de.aristaflow.adept2.model.events.Event
-
-
Uses of Event in de.aristaflow.adept2.core.eventmanager
Methods in de.aristaflow.adept2.core.eventmanager that return types with arguments of type Event Modifier and Type Method Description EventSource<? extends Event>
EventManager. addEventSource(SessionToken session, String eventType, String sourceType, String sourceID, org.apache.commons.configuration2.Configuration configuration)
Adds an event source having the designated ID to the designated event type and event source.Map<String,Class<? extends Event>>
EventManager. getSupportedEventTypes(SessionToken session)
Gets all the event types this event manager supports, that is, it can create event sources for these event types.EventSource<? extends Event>
EventManager. removeEventSource(SessionToken session, String eventType, String sourceType, String sourceID)
Removes the event source having the designated event type, event source and ID. -
Uses of Event in de.aristaflow.adept2.core.eventmanager.common
Classes in de.aristaflow.adept2.core.eventmanager.common with type parameters of type Event Modifier and Type Class Description class
AbstractEventSource<T extends Event>
This abstract class provides the means for managing the handler registered for an event source.class
AbstractSharedEventSource<E extends Event,S extends SharingSource<E>>
An event source that distributes events among several sharing event sources.class
AbstractSharingActEventSource<T extends Event>
A source for events shared among several sharing event sources.class
ConcurrentEventHandling<T extends Event>
A simple class for handling events concurrently via an executor service.Classes in de.aristaflow.adept2.core.eventmanager.common that implement Event Modifier and Type Class Description class
AbstractEvent
An abstract event providing the type handling and ID handling as well as the creation date.Fields in de.aristaflow.adept2.core.eventmanager.common declared as Event Modifier and Type Field Description protected T
ConcurrentEventHandling. event
The event to be handled.Fields in de.aristaflow.adept2.core.eventmanager.common with type parameters of type Event Modifier and Type Field Description protected Map<String,Class<? extends Event>>
AbstractEventManager. supportedEventTypes
All event types that are supported by this event manager.Methods in de.aristaflow.adept2.core.eventmanager.common that return types with arguments of type Event Modifier and Type Method Description Map<String,Class<? extends Event>>
AbstractEventManager. getSupportedEventTypes(SessionToken session)
protected Map<String,Class<? extends Event>>
AbstractEventManager. getSupportedEventTypes(SessionToken session, ServiceAccess sa)
Gets all event types declared via plugin types for this event manager.Methods in de.aristaflow.adept2.core.eventmanager.common with parameters of type Event Modifier and Type Method Description protected abstract boolean
AbstractActivityEventHandler. canHandle(Event event, boolean consumed)
Gets whether the designated event can be handled by this (sub-)class.boolean
AbstractActivityEventHandler. handleEvent(Event eve, boolean consumed)
boolean
AbstractSharingActEventSource. handleEvent(Event eve, boolean consumed)
protected abstract boolean
AbstractActivityEventHandler. processEvent(Event event, ActivityInstance activity, DataContext dataContext)
Processes the designated event for the designated activity instance.Constructor parameters in de.aristaflow.adept2.core.eventmanager.common with type arguments of type Event Constructor Description AbstractEventManager(org.apache.commons.configuration2.Configuration conf, Registry registry, String[] startupRequiredServices, String[] runtimeRequiredServices, Map<String,Class<? extends Event>> supportedEvents)
Deprecated, for removal: This API element is subject to removal in a future version.DefaultEventManager(org.apache.commons.configuration2.Configuration conf, Registry registry, String[] startupRequiredServices, String[] runtimeRequiredServices, Map<String,Class<? extends Event>> supportedEvents)
Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of Event in de.aristaflow.adept2.core.eventmanager.dbevents
Classes in de.aristaflow.adept2.core.eventmanager.dbevents that implement Event Modifier and Type Class Description class
MemoryResultSetEventImpl
An event for result sets, that is, an event is produced and sent as soon as a specific statement yields a non-empty (or empty if desired) result set.class
ResultSetEventImpl
An event for result sets, that is, an event is produced and sent as soon as a specific statement yields a non-empty (or empty if desired) result set. -
Uses of Event in de.aristaflow.adept2.core.eventmanager.fileevents
Classes in de.aristaflow.adept2.core.eventmanager.fileevents that implement Event Modifier and Type Class Description class
FileEventImpl
An event for files, that is, an event is produced and sent as soon as a file (or a directory) is created or stored in a specific folder.class
LockFileEventImpl
An event for files and their lock files, that is, an event is produced and sent as soon as a file (or a directory) is created or stored in a specific folder.Methods in de.aristaflow.adept2.core.eventmanager.fileevents with parameters of type Event Modifier and Type Method Description protected boolean
FileEventActivityHandler. canHandle(Event event, boolean consumed)
boolean
FileMarkHandler. handleEvent(Event eve, boolean consumed)
boolean
InstanceStartEventHandler. handleEvent(Event eve, boolean consumed)
boolean
MarkInstanceStartEventHandler. handleEvent(Event eve, boolean consumed)
protected boolean
FileEventActivityHandler. processEvent(Event event, ActivityInstance activity, DataContext dataContext)
-
Uses of Event in de.aristaflow.adept2.core.eventmanager.mailevents
Classes in de.aristaflow.adept2.core.eventmanager.mailevents that implement Event Modifier and Type Class Description class
MailEventImpl
An event for mails, that is, an event is produced and sent as soon as a mail is stored to a specific folder.Methods in de.aristaflow.adept2.core.eventmanager.mailevents with parameters of type Event Modifier and Type Method Description protected boolean
MailEventActivityHandler. canHandle(Event event, boolean consumed)
boolean
InstanceStartEventHandler. handleEvent(Event eve, boolean consumed)
boolean
MailFlagHandler. handleEvent(Event eve, boolean consumed)
protected boolean
MailEventActivityHandler. processEvent(Event event, ActivityInstance activity, DataContext dataContext)
-
Uses of Event in de.aristaflow.adept2.model.events
Subinterfaces of Event in de.aristaflow.adept2.model.events Modifier and Type Interface Description interface
FileEvent
An event that is produced to indicate the presence of a file or a sub-directory.interface
LockFileEvent
This event extendsFileEvent
by additional information to the corresponding lock file.interface
MailEvent
An event that is produced to indicate the presence of a mail.interface
MemoryResultSetEvent
An event that is produced to indicate the presence of specific data in a JDBC-database or similar.interface
ResultSetEvent
An event that is produced to indicate the presence of specific data in a JDBC-database. -
Uses of Event in de.aristaflow.adept2.model.events.handler
Methods in de.aristaflow.adept2.model.events.handler with parameters of type Event Modifier and Type Method Description boolean
EventHandler. handleEvent(Event event, boolean consumed)
This method actually processes an event. -
Uses of Event in de.aristaflow.adept2.model.events.sources
Classes in de.aristaflow.adept2.model.events.sources with type parameters of type Event Modifier and Type Interface Description interface
ActivityEventSource<T extends Event>
An event source that creates events for specific activities.interface
EventSource<T extends Event>
An event source produces events and forwards them to one or more event handler for processing the event.interface
PollingSource<T extends Event>
An event source that involves polling for an event.interface
SharedPollingSource<T extends Event>
ASharedPollingSource
unifies the polling for severalSharingSource
-instances.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.
-