public class ResourceExecutableScript extends SourceExecutableScript
Modifier and Type | Field and Description |
---|---|
protected String |
scriptResource |
scriptSource, shouldBeCompiled
compiledScript
language
Constructor and Description |
---|
ResourceExecutableScript(String language,
String scriptResource) |
Modifier and Type | Method and Description |
---|---|
Object |
evaluate(ScriptEngine engine,
VariableScope variableScope,
Bindings bindings) |
protected void |
loadScriptSource() |
compile, compileScript, evaluateScript, getScriptSource, isShouldBeCompiled, setScriptSource
getCompiledScript, setCompiledScript
execute, getLanguage
protected String scriptResource
public Object evaluate(ScriptEngine engine, VariableScope variableScope, Bindings bindings)
evaluate
in class SourceExecutableScript
protected void loadScriptSource()
Copyright © 2018. All rights reserved.