org.apache.tools.ant.taskdefs.optional.script

Class ScriptDefBase

public class ScriptDefBase extends Task implements DynamicConfigurator

The script execution class. This class finds the defining script task and passes control to that task's executeScript method.

Since: Ant 1.6

Method Summary
ObjectcreateDynamicElement(String name)
Create a nested element
voidexecute()
Locate the script defining task and execute the script by passing control to it
voidsetDynamicAttribute(String name, String value)
Set a task attribute

Method Detail

createDynamicElement

public Object createDynamicElement(String name)
Create a nested element

Parameters: name the nested element name

Returns: the element to be configured

execute

public void execute()
Locate the script defining task and execute the script by passing control to it

setDynamicAttribute

public void setDynamicAttribute(String name, String value)
Set a task attribute

Parameters: name the attribute name. value the attribute's string value

Copyright