Class ReceiveTaskActivityBehavior
- java.lang.Object
-
- org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
-
- org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
-
- org.camunda.bpm.engine.impl.bpmn.behavior.TaskActivityBehavior
-
- org.camunda.bpm.engine.impl.bpmn.behavior.ReceiveTaskActivityBehavior
-
- All Implemented Interfaces:
CoreActivityBehavior<ActivityExecution>,ActivityBehavior,SignallableActivityBehavior
public class ReceiveTaskActivityBehavior extends TaskActivityBehavior
A receive task is a wait state that waits for the receival of some message. Currently, the only message that is supported is the external trigger, given by calling theRuntimeService.signal(String)operation.- Author:
- Joram Barrez
-
-
Field Summary
-
Fields inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.TaskActivityBehavior
activityInstanceId
-
Fields inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
LOG
-
Fields inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
bpmnActivityBehavior
-
-
Constructor Summary
Constructors Constructor Description ReceiveTaskActivityBehavior()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidperformExecution(ActivityExecution execution)The method which should be overridden by the sub classes to perform an execution.voidsignal(ActivityExecution execution, String signalName, Object data)-
Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.TaskActivityBehavior
execute, postExecution, preExecution
-
Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
createCompensateEventSubscription, doLeave, executeWithErrorPropagation, isCompensationEventSubprocess, signalCompensationDone
-
Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
leave, leaveIgnoreConditions
-
-
-
-
Method Detail
-
performExecution
public void performExecution(ActivityExecution execution) throws Exception
Description copied from class:TaskActivityBehaviorThe method which should be overridden by the sub classes to perform an execution.- Overrides:
performExecutionin classTaskActivityBehavior- Parameters:
execution- the execution which is used during performing the execution- Throws:
Exception
-
signal
public void signal(ActivityExecution execution, String signalName, Object data) throws Exception
- Specified by:
signalin interfaceSignallableActivityBehavior- Overrides:
signalin classAbstractBpmnActivityBehavior- Throws:
Exception
-
-