Class EventBasedGatewayExecutable
- java.lang.Object
-
- org.camunda.bpm.scenario.impl.delegate.AbstractProcessEngineServicesDelegate
-
- org.camunda.bpm.scenario.impl.AbstractExecutable<I>
-
- org.camunda.bpm.scenario.impl.WaitstateExecutable<EventBasedGatewayDelegate>
-
- org.camunda.bpm.scenario.impl.waitstate.EventBasedGatewayExecutable
-
- All Implemented Interfaces:
Comparable<AbstractExecutable>,Deferrable,EventBasedGatewayDelegate,ProcessInstanceAwareDelegate,Executable<AbstractExecutable>
public class EventBasedGatewayExecutable extends WaitstateExecutable<EventBasedGatewayDelegate> implements EventBasedGatewayDelegate
- Author:
- Martin Schimak
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.camunda.bpm.scenario.impl.Executable
Executable.Deferreds, Executable.Helpers, Executable.Jobs, Executable.Waitstates
-
-
Field Summary
-
Fields inherited from class org.camunda.bpm.scenario.impl.WaitstateExecutable
historicDelegate
-
Fields inherited from class org.camunda.bpm.scenario.impl.AbstractExecutable
delegate, idComparator, runner
-
Fields inherited from class org.camunda.bpm.scenario.impl.delegate.AbstractProcessEngineServicesDelegate
processEngine
-
-
Constructor Summary
Constructors Constructor Description EventBasedGatewayExecutable(ProcessRunnerImpl runner, org.camunda.bpm.engine.history.HistoricActivityInstance instance)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Action<EventBasedGatewayDelegate>action(ProcessScenario scenario)protected EventBasedGatewayDelegategetDelegate()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 class org.camunda.bpm.scenario.impl.WaitstateExecutable
action, compareTo, defer, execute, getActivityId, getExecutionId, getProcessInstance, isExecutableAt
-
Methods inherited from class org.camunda.bpm.scenario.impl.delegate.AbstractProcessEngineServicesDelegate
getAuthorizationService, getCaseService, getDecisionService, getExternalTaskService, getFilterService, getFormService, getHistoryService, getIdentityService, getManagementService, getProcessEngine, getRepositoryService, getRuntimeService, getTaskService
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.camunda.bpm.scenario.defer.Deferrable
defer
-
Methods inherited from interface org.camunda.bpm.scenario.delegate.ProcessInstanceAwareDelegate
getProcessInstance
-
-
-
-
Constructor Detail
-
EventBasedGatewayExecutable
public EventBasedGatewayExecutable(ProcessRunnerImpl runner, org.camunda.bpm.engine.history.HistoricActivityInstance instance)
-
-
Method Detail
-
getDelegate
protected EventBasedGatewayDelegate getDelegate()
- Specified by:
getDelegatein classAbstractExecutable<EventBasedGatewayDelegate>
-
action
protected Action<EventBasedGatewayDelegate> action(ProcessScenario scenario)
- Specified by:
actionin classWaitstateExecutable<EventBasedGatewayDelegate>
-
getEventSubscriptions
public List<EventSubscriptionDelegate> getEventSubscriptions()
Description copied from interface:EventBasedGatewayDelegateGet all the event subscriptions defined for this event based gateway.- Specified by:
getEventSubscriptionsin interfaceEventBasedGatewayDelegate- Returns:
- the list of event subscriptions defined for this gateway.
-
getEventSubscription
public EventSubscriptionDelegate getEventSubscription(String activityId)
Description copied from interface:EventBasedGatewayDelegateGet 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.- Specified by:
getEventSubscriptionin interfaceEventBasedGatewayDelegate- 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
public EventSubscriptionDelegate getEventSubscription()
Description copied from interface:EventBasedGatewayDelegateGet the one and only event subscriptions defined for this event based gateway.- Specified by:
getEventSubscriptionin interfaceEventBasedGatewayDelegate- Returns:
- the event subscription defined for this gateway.
-
-