public class PreSetDef extends AntlibDefinition implements TaskContainer
 <presetdef name="my.javac">
   <javac deprecation="${deprecation}" debug="${debug}"/>
 </presetdef>
 <my.javac srcdir="src" destdir="classes"/>
 | Modifier and Type | Class and Description | 
|---|---|
| static class  | PreSetDef.PreSetDefinitionThis class contains the unknown element and the object
 that is predefined. | 
| Constructor and Description | 
|---|
| PreSetDef() | 
| Modifier and Type | Method and Description | 
|---|---|
| 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. | 
getAntlibClassLoader, getURI, setAntlibClassLoader, setURIbindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeclone, getDescription, getLocation, getProject, setDescription, setLocation, setProjectpublic void addTask(Task nestedTask)
addTask in interface TaskContainernestedTask - Nested task/type to extend.public void setName(String name)
name - the name of the definition.