| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.util.ScriptRunnerBase
org.apache.tools.ant.util.optional.JavaxScriptRunner
public class JavaxScriptRunner
This class is used to run scripts using JSR 223.
| Constructor Summary | |
|---|---|
| JavaxScriptRunner() | |
| Method Summary | |
|---|---|
|  java.lang.Object | evaluateScript(java.lang.String execName)Do the work to eval the script. | 
|  void | executeScript(java.lang.String execName)Do the work to run the script. | 
|  java.lang.String | getManagerName()Get the name of the manager prefix. | 
|  boolean | supportsLanguage()Check if a script engine can be created for this language. | 
| Methods inherited from class org.apache.tools.ant.util.ScriptRunnerBase | 
|---|
| addBean, addBeans, addText, bindToComponent, bindToComponentMinimum, checkLanguage, clearScript, getBeans, getKeepEngine, getLanguage, getProject, getScript, getScriptClassLoader, loadResource, loadResources, replaceContextLoader, restoreContextLoader, setKeepEngine, setLanguage, setProject, setScriptClassLoader, setSrc | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public JavaxScriptRunner()
| Method Detail | 
|---|
public java.lang.String getManagerName()
getManagerName in class ScriptRunnerBasepublic boolean supportsLanguage()
supportsLanguage in class ScriptRunnerBase
public void executeScript(java.lang.String execName)
                   throws BuildException
executeScript in class ScriptRunnerBaseexecName - the name that will be passed to the
                 scripting engine 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 ScriptRunnerBaseexecName - the name that will be passed to the
                 scripting engine for this script execution.
BuildException - if something goes wrong executing the script.| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||