org.apache.tools.ant.util.optional
public class ScriptRunner extends ScriptRunnerBase
Method Summary | |
---|---|
Object | evaluateScript(String execName)
Do the work.
|
void | executeScript(String execName)
Do the work.
|
String | getManagerName()
Get the name of the manager prefix. |
boolean | supportsLanguage()
Check if bsf supports the language. |
Parameters: execName the name that will be passed to BSF for this script execution.
Returns: the result of the evalulation
Throws: BuildException if someting goes wrong exectuing the script.
Parameters: execName the name that will be passed to BSF for this script execution.
Throws: BuildException if someting goes wrong exectuing the script.
Returns: "bsf"
Returns: true if bsf can create an engine for this language.