public class JavaxScriptRunner extends ScriptRunnerBase
Constructor and Description |
---|
JavaxScriptRunner() |
Modifier and Type | Method and Description |
---|---|
Object |
evaluateScript(String execName)
Do the work to eval the script.
|
void |
executeScript(String execName)
Do the work to run the script.
|
String |
getManagerName()
Get the name of the manager prefix.
|
boolean |
supportsLanguage()
Check if a script engine can be created for
this language.
|
addBean, addBeans, addText, bindToComponent, bindToComponentMinimum, checkLanguage, clearScript, getBeans, getKeepEngine, getLanguage, getProject, getScript, getScriptClassLoader, loadResource, loadResources, replaceContextLoader, restoreContextLoader, setKeepEngine, setLanguage, setProject, setScriptClassLoader, setSrc
public Object evaluateScript(String execName) throws BuildException
evaluateScript
in class ScriptRunnerBase
execName
- the name that will be passed to the
scripting engine for this script execution.BuildException
- if something goes wrong executing the script.public void executeScript(String execName) throws BuildException
executeScript
in class ScriptRunnerBase
execName
- the name that will be passed to the
scripting engine for this script execution.BuildException
- if something goes wrong executing the script.public String getManagerName()
getManagerName
in class ScriptRunnerBase
public boolean supportsLanguage()
supportsLanguage
in class ScriptRunnerBase