org.camunda.bpm.engine.impl.scripting
Class DynamicExecutableScript
java.lang.Object
org.camunda.bpm.engine.impl.scripting.ExecutableScript
org.camunda.bpm.engine.impl.scripting.DynamicExecutableScript
- Direct Known Subclasses:
- DynamicResourceExecutableScript, DynamicSourceExecutableScript
public abstract class DynamicExecutableScript
- extends ExecutableScript
A script which is dynamically determined during the execution.
Therefore it has to be executed in the context of an atomic operation.
- Author:
- Sebastian Menski
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
scriptExpression
protected final Expression scriptExpression
DynamicExecutableScript
protected DynamicExecutableScript(Expression scriptExpression,
String language)
execute
public Object execute(ScriptEngine scriptEngine,
VariableScope variableScope,
Bindings bindings)
- Description copied from class:
ExecutableScript
Evaluates the script using the provided engine and bindings
- Specified by:
execute in class ExecutableScript
- Parameters:
scriptEngine - the script engine to use for evaluating the script.variableScope - the variable scope of the executionbindings - the bindings to use for evaluating the script.
- Returns:
- the result of the script evaluation
evaluateExpression
protected String evaluateExpression(VariableScope variableScope)
getScriptSource
public abstract String getScriptSource(VariableScope variableScope)
Copyright © 2015 camunda services GmbH. All rights reserved.