org.apache.tools.ant.taskdefs.optional.script
Class ScriptDefBase
- DynamicAttribute, DynamicConfigurator, DynamicElement
public class ScriptDefBase
The script execution class. This class finds the defining script task
and passes control to that task's executeScript method.
- Ant 1.6
execute, getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
createDynamicElement
public Object createDynamicElement(String name)
Create a nested element
- createDynamicElement in interface DynamicElement
name - the nested element name
- the element to be configured
execute
public void execute()
Locate the script defining task and execute the script by passing
control to it
- execute in interface Task
setDynamicAttribute
public void setDynamicAttribute(String name,
String value) Set a task attribute
- setDynamicAttribute in interface DynamicAttribute
name - the attribute name.value - the attribute's string value
Copyright B) 2000-2005 Apache Software Foundation. All Rights Reserved.