java.lang.Cloneable, TaskContainerpublic 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 | Description |
|---|---|---|
static class |
PreSetDef.PreSetDefinition |
This class contains the unknown element and the object
that is predefined.
|
description, location, project| Constructor | Description |
|---|---|
PreSetDef() |
| Modifier and Type | Method | Description |
|---|---|---|
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) |
Set the name of this definition.
|
getAntlibClassLoader, getURI, setAntlibClassLoader, setURIequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclone, getDescription, getLocation, getProject, setDescription, setLocation, setProjectbindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypepublic void setName(java.lang.String name)
name - the name of the definition.public void addTask(Task nestedTask)
addTask in interface TaskContainernestedTask - Nested task/type to extend.