Class ReceiveTaskExecutable
- java.lang.Object
-
- org.camunda.bpm.scenario.impl.delegate.AbstractProcessEngineServicesDelegate
-
- org.camunda.bpm.scenario.impl.AbstractExecutable<I>
-
- org.camunda.bpm.scenario.impl.WaitstateExecutable<org.camunda.bpm.engine.runtime.EventSubscription>
-
- org.camunda.bpm.scenario.impl.delegate.AbstractEventSubscriptionDelegate
-
- org.camunda.bpm.scenario.impl.waitstate.MessageIntermediateCatchEventExecutable
-
- org.camunda.bpm.scenario.impl.waitstate.ReceiveTaskExecutable
-
- All Implemented Interfaces:
Comparable<AbstractExecutable>,org.camunda.bpm.engine.runtime.EventSubscription,Deferrable,EventSubscriptionDelegate,ProcessInstanceAwareDelegate,Executable<AbstractExecutable>
public class ReceiveTaskExecutable extends MessageIntermediateCatchEventExecutable
- 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 ReceiveTaskExecutable(ProcessRunnerImpl runner, org.camunda.bpm.engine.history.HistoricActivityInstance instance)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Action<EventSubscriptionDelegate>action(ProcessScenario scenario)DategetCreated()protected org.camunda.bpm.engine.runtime.EventSubscriptiongetDelegate()StringgetEventName()StringgetEventType()StringgetId()StringgetProcessInstanceId()StringgetTenantId()voidreceive()Receive the event the event subscription is waiting for.voidreceive(Map<String,Object> variables)Receive the event the event subscription is waiting for and deliver a map of received information to be stored as process instance variables.-
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.engine.runtime.EventSubscription
getActivityId, getExecutionId
-
Methods inherited from interface org.camunda.bpm.scenario.delegate.ProcessInstanceAwareDelegate
getProcessInstance
-
-
-
-
Constructor Detail
-
ReceiveTaskExecutable
public ReceiveTaskExecutable(ProcessRunnerImpl runner, org.camunda.bpm.engine.history.HistoricActivityInstance instance)
-
-
Method Detail
-
action
protected Action<EventSubscriptionDelegate> action(ProcessScenario scenario)
- Overrides:
actionin classMessageIntermediateCatchEventExecutable
-
getDelegate
protected org.camunda.bpm.engine.runtime.EventSubscription getDelegate()
- Overrides:
getDelegatein classMessageIntermediateCatchEventExecutable
-
receive
public void receive()
Description copied from interface:EventSubscriptionDelegateReceive the event the event subscription is waiting for.- Specified by:
receivein interfaceEventSubscriptionDelegate- Overrides:
receivein classMessageIntermediateCatchEventExecutable
-
receive
public void receive(Map<String,Object> variables)
Description copied from interface:EventSubscriptionDelegateReceive the event the event subscription is waiting for and deliver a map of received information to be stored as process instance variables.- Specified by:
receivein interfaceEventSubscriptionDelegate- Overrides:
receivein classMessageIntermediateCatchEventExecutable
-
getId
public String getId()
- Specified by:
getIdin interfaceorg.camunda.bpm.engine.runtime.EventSubscription- Overrides:
getIdin classAbstractEventSubscriptionDelegate
-
getEventType
public String getEventType()
- Specified by:
getEventTypein interfaceorg.camunda.bpm.engine.runtime.EventSubscription- Overrides:
getEventTypein classAbstractEventSubscriptionDelegate
-
getEventName
public String getEventName()
- Specified by:
getEventNamein interfaceorg.camunda.bpm.engine.runtime.EventSubscription- Overrides:
getEventNamein classAbstractEventSubscriptionDelegate
-
getProcessInstanceId
public String getProcessInstanceId()
- Specified by:
getProcessInstanceIdin interfaceorg.camunda.bpm.engine.runtime.EventSubscription- Overrides:
getProcessInstanceIdin classAbstractEventSubscriptionDelegate
-
getTenantId
public String getTenantId()
- Specified by:
getTenantIdin interfaceorg.camunda.bpm.engine.runtime.EventSubscription- Overrides:
getTenantIdin classAbstractEventSubscriptionDelegate
-
getCreated
public Date getCreated()
- Specified by:
getCreatedin interfaceorg.camunda.bpm.engine.runtime.EventSubscription- Overrides:
getCreatedin classAbstractEventSubscriptionDelegate
-
-