org.apache.tools.ant
Interface TaskContainer
- Antlib, MacroDef.NestedSequential, MacroInstance, MacroInstance.Element, Parallel, Parallel.TaskList, PreSetDef, Sequential, Target
public interface TaskContainer
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.
Task.perform()
, Task.execute()
, BuildEvent
void | addTask(Task task) - Adds a task to this task container
|
addTask
public void addTask(Task task)
Adds a task to this task container
task
- The task to be added to this container.
Must not be null
.
Copyright B) 2000-2005 Apache Software Foundation. All Rights Reserved.