Class ResourceExecutableScript
- java.lang.Object
-
- org.camunda.bpm.engine.impl.scripting.ExecutableScript
-
- org.camunda.bpm.engine.impl.scripting.CompiledExecutableScript
-
- org.camunda.bpm.engine.impl.scripting.SourceExecutableScript
-
- org.camunda.bpm.engine.impl.scripting.ResourceExecutableScript
-
public class ResourceExecutableScript extends SourceExecutableScript
A script which is provided by an external resource.- Author:
- Sebastian Menski
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
scriptResource
-
Fields inherited from class org.camunda.bpm.engine.impl.scripting.SourceExecutableScript
scriptSource, shouldBeCompiled
-
Fields inherited from class org.camunda.bpm.engine.impl.scripting.CompiledExecutableScript
compiledScript
-
Fields inherited from class org.camunda.bpm.engine.impl.scripting.ExecutableScript
language
-
-
Constructor Summary
Constructors Constructor Description ResourceExecutableScript(java.lang.String language, java.lang.String scriptResource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
evaluate(javax.script.ScriptEngine engine, VariableScope variableScope, javax.script.Bindings bindings)
protected void
loadScriptSource()
-
Methods inherited from class org.camunda.bpm.engine.impl.scripting.SourceExecutableScript
compile, compileScript, evaluateScript, getScriptSource, isShouldBeCompiled, setScriptSource
-
Methods inherited from class org.camunda.bpm.engine.impl.scripting.CompiledExecutableScript
getCompiledScript, setCompiledScript
-
Methods inherited from class org.camunda.bpm.engine.impl.scripting.ExecutableScript
execute, getActivityIdExceptionMessage, getLanguage
-
-
-
-
Method Detail
-
evaluate
public java.lang.Object evaluate(javax.script.ScriptEngine engine, VariableScope variableScope, javax.script.Bindings bindings)
- Overrides:
evaluate
in classSourceExecutableScript
-
loadScriptSource
protected void loadScriptSource()
-
-