public class ScriptTaskActivityBehavior extends TaskActivityBehavior
ActivityBehavior implementation of the BPMN 2.0 script task.
AbstractBpmnActivityBehavior.ErrorDeclarationForProcessInstanceFinder, AbstractBpmnActivityBehavior.ErrorPropagationException| Modifier and Type | Field and Description |
|---|---|
protected String |
resultVariable |
protected ExecutableScript |
script |
activityInstanceIdLOGbpmnActivityBehavior| Constructor and Description |
|---|
ScriptTaskActivityBehavior(ExecutableScript script,
String resultVariable) |
| Modifier and Type | Method and Description |
|---|---|
protected BpmnError |
checkIfCauseOfExceptionIsBpmnError(Throwable e)
Searches recursively through the exception to see if the exception itself
or one of its causes is a
BpmnError. |
ExecutableScript |
getScript() |
void |
performExecution(ActivityExecution execution)
The method which should be overridden by the sub classes to perform an execution.
|
execute, postExecution, preExecutioncreateCompensateEventSubscription, doLeave, executeWithErrorPropagation, isCompensationEventSubprocess, isProcessEngineExceptionWithoutCause, isTransactionNotActive, propagateBpmnError, propagateError, propagateException, propagateExceptionAsError, signal, signalCompensationDoneleave, leaveIgnoreConditionsprotected ExecutableScript script
protected String resultVariable
public ScriptTaskActivityBehavior(ExecutableScript script, String resultVariable)
public void performExecution(ActivityExecution execution) throws Exception
TaskActivityBehaviorperformExecution in class TaskActivityBehaviorexecution - the execution which is used during performing the executionExceptionprotected BpmnError checkIfCauseOfExceptionIsBpmnError(Throwable e)
BpmnError.checkIfCauseOfExceptionIsBpmnError in class AbstractBpmnActivityBehaviore - the exception to checkpublic ExecutableScript getScript()
Copyright © 2019. All rights reserved.