|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--org.apache.tools.ant.ProjectComponent
|
+--org.apache.tools.ant.Task
|
+--org.apache.tools.ant.taskdefs.AntlibDefinition
|
+--org.apache.tools.ant.taskdefs.PreSetDef
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"/>
| Nested Class Summary | |
static class |
PreSetDef.PreSetDefinition
This class contains the unknown element and the object that is predefined. |
| Field Summary |
| Fields inherited from class org.apache.tools.ant.Task |
description, location, target, taskName, taskType, wrapper |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
project |
| Constructor Summary | |
PreSetDef()
|
|
| Method Summary | |
void |
addTask(Task nestedTask)
Add a nested task to predefine attributes and elements on |
void |
execute()
make a new definition |
void |
setName(java.lang.String name)
Name of the definition |
| Methods inherited from class org.apache.tools.ant.taskdefs.AntlibDefinition |
getAntlibClassLoader, getURI, setAntlibClassLoader, setURI |
| Methods inherited from class org.apache.tools.ant.Task |
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 |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject, setProject |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PreSetDef()
| Method Detail |
public void setName(java.lang.String name)
name - the name of the definitionpublic void addTask(Task nestedTask)
addTask in interface TaskContainernestedTask - Nested task/type to extendpublic void execute()
execute in class Task
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||