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