ScriptRunner
public class ScriptRunner extends ScriptRunnerBase
Constructor | Description |
---|---|
ScriptRunner() |
Modifier and Type | Method | Description |
---|---|---|
java.lang.Object |
evaluateScript(java.lang.String execName) |
Evaluate the script.
|
void |
executeScript(java.lang.String execName) |
Do the work.
|
java.lang.String |
getManagerName() |
Get the name of the manager prefix.
|
boolean |
supportsLanguage() |
Check if bsf supports the language.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addBean, addBeans, addText, bindToComponent, bindToComponentMinimum, checkLanguage, clearScript, getBeans, getCompiled, getKeepEngine, getLanguage, getProject, getScript, getScriptClassLoader, loadResource, loadResources, replaceContextLoader, restoreContextLoader, setCompiled, setEncoding, setKeepEngine, setLanguage, setProject, setScriptClassLoader, setSrc
public java.lang.String getManagerName()
getManagerName
in class ScriptRunnerBase
public boolean supportsLanguage()
supportsLanguage
in class ScriptRunnerBase
public void executeScript(java.lang.String execName) throws BuildException
executeScript
in class ScriptRunnerBase
execName
- the name that will be passed to BSF for this script execution.BuildException
- if something goes wrong executing the script.public java.lang.Object evaluateScript(java.lang.String execName) throws BuildException
evaluateScript
in class ScriptRunnerBase
execName
- the name that will be passed to BSF for this script execution.BuildException
- if something goes wrong executing the script.