public abstract class DynamicExecutableScript extends ExecutableScript
Modifier and Type | Field and Description |
---|---|
protected Expression |
scriptExpression |
language
Modifier | Constructor and Description |
---|---|
protected |
DynamicExecutableScript(Expression scriptExpression,
String language) |
Modifier and Type | Method and Description |
---|---|
Object |
evaluate(ScriptEngine scriptEngine,
VariableScope variableScope,
Bindings bindings) |
protected String |
evaluateExpression(VariableScope variableScope) |
abstract String |
getScriptSource(VariableScope variableScope) |
execute, getLanguage
protected final Expression scriptExpression
protected DynamicExecutableScript(Expression scriptExpression, String language)
public Object evaluate(ScriptEngine scriptEngine, VariableScope variableScope, Bindings bindings)
evaluate
in class ExecutableScript
protected String evaluateExpression(VariableScope variableScope)
public abstract String getScriptSource(VariableScope variableScope)
Copyright © 2019. All rights reserved.