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, getActivityIdExceptionMessage, getLanguage
protected String scriptResource
public Object evaluate(ScriptEngine engine, VariableScope variableScope, Bindings bindings)
evaluate
in class SourceExecutableScript
protected void loadScriptSource()
Copyright © 2022. All rights reserved.