Class ScriptTaskActivityBehavior
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.ScriptTaskActivityBehavior
- All Implemented Interfaces:
CoreActivityBehavior<ActivityExecution>
,ActivityBehavior
,SignallableActivityBehavior
ActivityBehavior
implementation of the BPMN 2.0 script task.
- Author:
- Joram Barrez, Christian Stettler, Falko Menge, Daniel Meyer
-
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 TypeMethodDescriptionprotected BpmnError
Searches recursively through the exception to see if the exception itself or one of its causes is aBpmnError
.void
performExecution
(ActivityExecution execution) The method which should be overridden by the sub classes to perform an execution.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, signal, signalCompensationDone
Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
leave, leaveIgnoreConditions
-
Field Details
-
script
-
resultVariable
-
-
Constructor Details
-
ScriptTaskActivityBehavior
-
-
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
-
checkIfCauseOfExceptionIsBpmnError
Searches recursively through the exception to see if the exception itself or one of its causes is aBpmnError
.- Parameters:
e
- the exception to check- Returns:
- the BpmnError that was the cause of this exception or null if no BpmnError was found
-
getScript
-