| |
|
| org.apache.tools.ant.Task org.apache.tools.ant.taskdefs.AntlibDefinition org.apache.tools.ant.taskdefs.PreSetDef
PreSetDef | public class PreSetDef extends AntlibDefinition implements TaskContainer(Code) | | The preset definition task generates a new definition
based on a current definition with some attributes or
elements preset.
<presetdef name="my.javac">
<javac deprecation="${deprecation}" debug="${debug}"/>
</presetdef>
<my.javac srcdir="src" destdir="classes"/>
since: Ant 1.6 |
Method Summary | |
public void | addTask(Task nestedTask) Add a nested task to predefine attributes and elements on. | public void | execute() Make a new definition. | public void | setName(String name) Set the name of this definition. |
addTask | public void addTask(Task nestedTask)(Code) | | Add a nested task to predefine attributes and elements on.
Parameters: nestedTask - Nested task/type to extend. |
execute | public void execute()(Code) | | Make a new definition.
|
setName | public void setName(String name)(Code) | | Set the name of this definition.
Parameters: name - the name of the definition. |
|
|
|