org.camunda.bpm.engine.impl.bpmn.behavior
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 the RuntimeService.signal(String) operation.
- Author:
- Joram Barrez
| Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior |
checkIfCauseOfExceptionIsBpmnError, createCompensateEventSubscription, executeWithErrorPropagation, isCompensationEventSubprocess, isProcessEngineExceptionWithoutCause, isTransactionNotActive, leave, propagateBpmnError, propagateError, propagateException, propagateExceptionAsError, signalCompensationDone |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReceiveTaskActivityBehavior
public ReceiveTaskActivityBehavior()
execute
public void execute(ActivityExecution execution)
throws Exception
- Description copied from class:
FlowNodeActivityBehavior
- Default behaviour: just leave the activity with no extra functionality.
- Specified by:
execute in interface CoreActivityBehavior<ActivityExecution>- Specified by:
execute in interface ActivityBehavior- Overrides:
execute in class FlowNodeActivityBehavior
- Throws:
Exception
signal
public void signal(ActivityExecution execution,
String signalName,
Object data)
throws Exception
- Specified by:
signal in interface SignallableActivityBehavior- Overrides:
signal in class AbstractBpmnActivityBehavior
- Throws:
Exception
Copyright © 2016 camunda services GmbH. All rights reserved.