org.apache.tools.ant.taskdefs
public class PreSetDef extends AntlibDefinition implements TaskContainer
<presetdef name="my.javac"> <javac deprecation="${deprecation}" debug="${debug}"/> </presetdef> <my.javac srcdir="src" destdir="classes"/>
Since: Ant 1.6
Nested Class Summary | |
---|---|
static class | PreSetDef.PreSetDefinition
This class contains the unknown element and the object
that is predefined. |
Method Summary | |
---|---|
void | addTask(Task nestedTask)
Add a nested task to predefine attributes and elements on. |
void | execute()
Make a new definition. |
void | setName(String name)
Set the name of this definition. |
Parameters: nestedTask Nested task/type to extend.
Parameters: name the name of the definition.