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
-
-
Field Summary
Fields Modifier and Type Field Description protected Expression
scriptExpression
-
Fields inherited from class org.camunda.bpm.engine.impl.scripting.ExecutableScript
language
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
DynamicExecutableScript(Expression scriptExpression, String language)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Object
evaluate(ScriptEngine scriptEngine, VariableScope variableScope, Bindings bindings)
protected String
evaluateExpression(VariableScope variableScope)
abstract String
getScriptSource(VariableScope variableScope)
-
Methods inherited from class org.camunda.bpm.engine.impl.scripting.ExecutableScript
execute, getActivityIdExceptionMessage, getLanguage
-
-
-
-
Field Detail
-
scriptExpression
protected final Expression scriptExpression
-
-
Constructor Detail
-
DynamicExecutableScript
protected DynamicExecutableScript(Expression scriptExpression, String language)
-
-
Method Detail
-
evaluate
public Object evaluate(ScriptEngine scriptEngine, VariableScope variableScope, Bindings bindings)
- Specified by:
evaluate
in classExecutableScript
-
evaluateExpression
protected String evaluateExpression(VariableScope variableScope)
-
getScriptSource
public abstract String getScriptSource(VariableScope variableScope)
-
-