org.camunda.bpm.engine.impl.bpmn.behavior
Class ReceiveTaskActivityBehavior

java.lang.Object
  extended by org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
      extended by org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
          extended by org.camunda.bpm.engine.impl.bpmn.behavior.TaskActivityBehavior
              extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
AbstractBpmnActivityBehavior.ErrorDeclarationForProcessInstanceFinder, AbstractBpmnActivityBehavior.ErrorPropagationException
 
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
ReceiveTaskActivityBehavior()
           
 
Method Summary
 void 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
checkIfCauseOfExceptionIsBpmnError, createCompensateEventSubscription, doLeave, executeWithErrorPropagation, isCompensationEventSubprocess, isProcessEngineExceptionWithoutCause, isTransactionNotActive, propagateBpmnError, propagateError, propagateException, propagateExceptionAsError, signalCompensationDone
 
Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
leave, leaveIgnoreConditions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReceiveTaskActivityBehavior

public ReceiveTaskActivityBehavior()
Method Detail

performExecution

public void performExecution(ActivityExecution execution)
                      throws Exception
Description copied from class: TaskActivityBehavior
The method which should be overridden by the sub classes to perform an execution.

Overrides:
performExecution in class TaskActivityBehavior
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:
signal in interface SignallableActivityBehavior
Overrides:
signal in class AbstractBpmnActivityBehavior
Throws:
Exception


Copyright © 2017 camunda services GmbH. All rights reserved.