public class Sequential extends Task implements TaskContainer
Parallel Task
The sequential task has no attributes and does not support any nested elements apart from Ant tasks. Any valid Ant task may be embedded within the sequential task.
description, location, project
Constructor and Description |
---|
Sequential() |
Modifier and Type | Method and Description |
---|---|
void |
addTask(Task nestedTask)
Add a nested task to Sequential.
|
void |
execute()
Execute all nestedTasks.
|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
public void addTask(Task nestedTask)
addTask
in interface TaskContainer
nestedTask
- Nested task to execute Sequentialpublic void execute() throws BuildException
execute
in class Task
BuildException
- if one of the nested tasks fails.