| org.apache.tools.ant.Task org.apache.tools.ant.taskdefs.optional.script.ScriptDefBase
ScriptDefBase | public class ScriptDefBase extends Task implements DynamicConfigurator(Code) | | The script execution class. This class finds the defining script task
and passes control to that task's executeScript method.
since: Ant 1.6 |
addText | public void addText(String text)(Code) | | Set the script text.
Parameters: text - a component of the script text to be added. since: ant1.7 |
createDynamicElement | public Object createDynamicElement(String name)(Code) | | Create a nested element
Parameters: name - the nested element name the element to be configured |
execute | public void execute()(Code) | | Locate the script defining task and execute the script by passing
control to it
|
fail | public void fail(String message)(Code) | | Utility method for nested scripts; throws a BuildException
with the given message.
Parameters: message - text to pass to the BuildException throws: BuildException - always. since: ant1.7 |
getText | public String getText()(Code) | | get the text of this element; may be null
text or null for no nested text since: ant1.7 |
setDynamicAttribute | public void setDynamicAttribute(String name, String value)(Code) | | Set a task attribute
Parameters: name - the attribute name. Parameters: value - the attribute's string value |
|
|