Top Description Methods
org.apache.tools.ant

public Interface TaskContainer

Known Direct Implementers
org.apache.tools.ant.taskdefs.Antlib, org.apache.tools.ant.taskdefs.Parallel, org.apache.tools.ant.taskdefs.Parallel.TaskList, org.apache.tools.ant.taskdefs.MacroDef.NestedSequential, org.apache.tools.ant.taskdefs.MacroInstance, org.apache.tools.ant.taskdefs.MacroInstance.Element, org.apache.tools.ant.taskdefs.PreSetDef, org.apache.tools.ant.taskdefs.Retry, org.apache.tools.ant.taskdefs.Sequential, org.apache.tools.ant.Target

Interface for objects which can contain tasks.

It is recommended that implementations call perform rather than execute for the tasks they contain, as this method ensures that the appropriate BuildEvents will be generated.

See Also
Task#perform, Task#execute, BuildEvent

Method Summary

Modifier and TypeMethod and Description
public void
addTask(Task
The task to be added to this container. Must not be null.
task
)

Adds a task to this task container

Method Detail

addTaskback to summary
public void addTask(Task task)

Adds a task to this task container

Parameters
task:Task

The task to be added to this container. Must not be null.