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
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 the
RuntimeService.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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
performExecution
(ActivityExecution execution) The method which should be overridden by the sub classes to perform an execution.void
signal
(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
-
Constructor Details
-
ReceiveTaskActivityBehavior
public ReceiveTaskActivityBehavior()
-
-
Method Details
-
performExecution
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:
Exception
-
signal
- Specified by:
signal
in interfaceSignallableActivityBehavior
- Overrides:
signal
in classAbstractBpmnActivityBehavior
- Throws:
Exception
-