org.apache.tools.ant.util.optional
Class JavaxScriptRunner
public class JavaxScriptRunner
This class is used to run scripts using JSR 223.
addBean, addBeans, addText, bindToComponent, bindToComponentMinimum, checkLanguage, clearScript, evaluateScript, executeScript, getBeans, getKeepEngine, getLanguage, getManagerName, getProject, getScript, getScriptClassLoader, replaceContextLoader, restoreContextLoader, setKeepEngine, setLanguage, setProject, setScriptClassLoader, setSrc, supportsLanguage |
evaluateScript
public Object evaluateScript(String execName)
throws BuildException Do the work to eval the script.
- evaluateScript in interface ScriptRunnerBase
execName - the name that will be passed to the
scripting engine for this script execution.
- the result of the evalulation
executeScript
public void executeScript(String execName)
throws BuildException Do the work to run the script.
- executeScript in interface ScriptRunnerBase
execName - the name that will be passed to the
scripting engine for this script execution.