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.AbstractBpmnActivityBehavior
LOG
 
Fields inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
bpmnActivityBehavior
 
Constructor Summary
ReceiveTaskActivityBehavior()
           
 
Method Summary
 void execute(ActivityExecution execution)
          Default behaviour: just leave the activity with no extra functionality.
 void signal(ActivityExecution execution, String signalName, Object data)
           
 
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 org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
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

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 © 2015 camunda services GmbH. All rights reserved.