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 ExpressionscriptExpression-
Fields inherited from class org.camunda.bpm.engine.impl.scripting.ExecutableScript
language
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDynamicExecutableScript(Expression scriptExpression, java.lang.String language)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.lang.Objectevaluate(javax.script.ScriptEngine scriptEngine, VariableScope variableScope, javax.script.Bindings bindings)protected java.lang.StringevaluateExpression(VariableScope variableScope)abstract java.lang.StringgetScriptSource(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, java.lang.String language)
-
-
Method Detail
-
evaluate
public java.lang.Object evaluate(javax.script.ScriptEngine scriptEngine, VariableScope variableScope, javax.script.Bindings bindings)- Specified by:
evaluatein classExecutableScript
-
evaluateExpression
protected java.lang.String evaluateExpression(VariableScope variableScope)
-
getScriptSource
public abstract java.lang.String getScriptSource(VariableScope variableScope)
-
-