|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.camunda.bpm.engine.impl.scripting.ExecutableScript
public abstract class ExecutableScript
Represents an executable script.
| Field Summary | |
|---|---|
protected String |
language
The language of the script. |
| Constructor Summary | |
|---|---|
protected |
ExecutableScript(String language)
|
| Method Summary | |
|---|---|
abstract Object |
execute(ScriptEngine scriptEngine,
VariableScope variableScope,
Bindings bindings)
Evaluates the script using the provided engine and bindings |
String |
getLanguage()
The language in which the script is written. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final String language
ScriptEngine.
| Constructor Detail |
|---|
protected ExecutableScript(String language)
| Method Detail |
|---|
public abstract Object execute(ScriptEngine scriptEngine,
VariableScope variableScope,
Bindings bindings)
Evaluates the script using the provided engine and bindings
scriptEngine - the script engine to use for evaluating the script.variableScope - the variable scope of the executionbindings - the bindings to use for evaluating the script.
ProcessEngineException - in case the script cannot be evaluated.public String getLanguage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||