org.apache.tools.ant.taskdefs
Class PreSetDef
- TaskContainer
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"/>
void | addTask(Task nestedTask)- Add a nested task to predefine attributes and elements on
|
void | execute()- make a new definition
|
void | setName(String name)- Name of the definition
|
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 |
addTask
public void addTask(Task nestedTask)
Add a nested task to predefine attributes and elements on
- addTask in interface TaskContainer
nestedTask - Nested task/type to extend
execute
public void execute()
make a new definition
- execute in interface Task
setName
public void setName(String name)
Name of the definition
name - the name of the definition
Copyright B) 2000-2006 Apache Software Foundation. All Rights Reserved.