Interface EventBasedGatewayDelegate
-
- All Superinterfaces:
Deferrable,ProcessInstanceAwareDelegate
- All Known Implementing Classes:
EventBasedGatewayExecutable
public interface EventBasedGatewayDelegate extends ProcessInstanceAwareDelegate, Deferrable
- Author:
- Martin Schimak
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EventSubscriptionDelegategetEventSubscription()Get the one and only event subscriptions defined for this event based gateway.EventSubscriptionDelegategetEventSubscription(String activityId)Get the event subscriptions defined for this event based gateway which is defined by the event (or receive task) symbol with the activity id provided as parameter.List<EventSubscriptionDelegate>getEventSubscriptions()Get all the event subscriptions defined for this event based gateway.-
Methods inherited from interface org.camunda.bpm.scenario.defer.Deferrable
defer
-
Methods inherited from interface org.camunda.bpm.scenario.delegate.ProcessInstanceAwareDelegate
getProcessInstance
-
-
-
-
Method Detail
-
getEventSubscriptions
List<EventSubscriptionDelegate> getEventSubscriptions()
Get all the event subscriptions defined for this event based gateway.- Returns:
- the list of event subscriptions defined for this gateway.
-
getEventSubscription
EventSubscriptionDelegate getEventSubscription(String activityId)
Get the event subscriptions defined for this event based gateway which is defined by the event (or receive task) symbol with the activity id provided as parameter.- Parameters:
activityId- the activity id of the requested event subscription's event (or receive task) symbol- Returns:
- the list of event subscriptions defined for this gateway.
-
getEventSubscription
EventSubscriptionDelegate getEventSubscription()
Get the one and only event subscriptions defined for this event based gateway.- Returns:
- the event subscription defined for this gateway.
- Throws:
org.camunda.bpm.engine.ProcessEngineException- in case more than one such event subscription is defined for this event based gateway.
-
-