org.camunda.bpm.engine.impl.scripting
Class SourceExecutableScript
java.lang.Object
org.camunda.bpm.engine.impl.scripting.ExecutableScript
org.camunda.bpm.engine.impl.scripting.SourceExecutableScript
public class SourceExecutableScript
- extends ExecutableScript
A script which is provided as source code. This is used if the corresponding
script engine does not support compilation.
- Author:
- Daniel Meyer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
scriptSrc
protected final String scriptSrc
- The source of the script.
SourceExecutableScript
public SourceExecutableScript(String language,
String src)
execute
public Object execute(ScriptEngine engine,
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:
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
Copyright © 2014 camunda services GmbH. All Rights Reserved.