org.camunda.bpm.engine.impl.scripting
Class ResourceExecutableScript
java.lang.Object
org.camunda.bpm.engine.impl.scripting.ExecutableScript
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
scriptResource
protected String scriptResource
ResourceExecutableScript
public ResourceExecutableScript(String language,
String scriptResource)
execute
public Object execute(ScriptEngine engine,
VariableScope variableScope,
Bindings bindings)
- Description copied from class:
ExecutableScript
Evaluates the script using the provided engine and bindings
- Overrides:
execute
in class SourceExecutableScript
- Parameters:
engine
- 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
loadScriptSource
protected void loadScriptSource()
Copyright © 2014 camunda services GmbH. All rights reserved.