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.PreSetDefinition
This class contains the unknown element and the object
that is predefined.
|
description, location, project| 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(java.lang.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 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.