java.lang.Cloneable
, TaskContainer
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 | 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, setURI
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
public void setName(java.lang.String name)
name
- the name of the definition.public void addTask(Task nestedTask)
addTask
in interface TaskContainer
nestedTask
- Nested task/type to extend.