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
- Direct Known Subclasses:
ActivitiStateHandlerRegistry
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 void
performExecution(ActivityExecution execution)
The method which should be overridden by the sub classes to perform an execution.void
signal(ActivityExecution execution, java.lang.String signalName, java.lang.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 java.lang.Exception
Description copied from class:TaskActivityBehavior
The method which should be overridden by the sub classes to perform an execution.- Overrides:
performExecution
in classTaskActivityBehavior
- Parameters:
execution
- the execution which is used during performing the execution- Throws:
java.lang.Exception
-
signal
public void signal(ActivityExecution execution, java.lang.String signalName, java.lang.Object data) throws java.lang.Exception
- Specified by:
signal
in interfaceSignallableActivityBehavior
- Overrides:
signal
in classAbstractBpmnActivityBehavior
- Throws:
java.lang.Exception
-
-