Interface KogitoEventListener
- All Known Subinterfaces:
KogitoProcessInstance,KogitoWorkflowProcessInstance
public interface KogitoEventListener
-
Method Summary
Modifier and TypeMethodDescriptiondefault Set<EventDescription<?>>Returns unique set of event descriptions that this event listener is interested in.String[]Returns the event types this event listener is interested in.voidsignalEvent(String type, Object event) Signals that an event has occurred.
-
Method Details
-
getEventDescriptions
Returns unique set of event descriptions that this event listener is interested in.- Returns:
- returns set of event definitions awaiting or empty set
-
signalEvent
Signals that an event has occurred. The type parameter defines which type of event and the event parameter can contain additional information related to the event.- Parameters:
type- the type of eventevent- the data associated with this event
-
getEventTypes
String[] getEventTypes()Returns the event types this event listener is interested in. May returnnullif the event types are unknown.
-