org.camunda.bpm.engine.impl.bpmn.behavior
Class ServiceTaskExpressionActivityBehavior
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.ServiceTaskExpressionActivityBehavior
- All Implemented Interfaces:
- CoreActivityBehavior<ActivityExecution>, ActivityBehavior, SignallableActivityBehavior
public class ServiceTaskExpressionActivityBehavior
- extends TaskActivityBehavior
ActivityBehavior that evaluates an expression when executed. Optionally, it
sets the result of the expression as a variable on the execution.
- Author:
- Tom Baeyens, Christian Stettler, Frederik Heremans, Slawomir Wojtasiak (Patch for ACT-1159), Falko Menge
|
Method Summary |
void |
execute(ActivityExecution execution)
Default behaviour: just leave the activity with no extra functionality. |
| Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior |
checkIfCauseOfExceptionIsBpmnError, createCompensateEventSubscription, executeWithErrorPropagation, isCompensationEventSubprocess, isProcessEngineExceptionWithoutCause, isTransactionNotActive, leave, propagateBpmnError, propagateError, propagateException, propagateExceptionAsError, signal, signalCompensationDone |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
expression
protected Expression expression
resultVariable
protected String resultVariable
ServiceTaskExpressionActivityBehavior
public ServiceTaskExpressionActivityBehavior(Expression expression,
String resultVariable)
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
Copyright © 2016 camunda services GmbH. All rights reserved.