java.lang.Cloneable, TaskContainerpublic 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 | Description |
|---|---|
Sequential() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
addTask(Task nestedTask) |
Add a nested task to Sequential.
|
void |
execute() |
Execute all nestedTasks.
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclone, getDescription, getLocation, getProject, setDescription, setLocation, setProjectbindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypepublic void addTask(Task nestedTask)
addTask in interface TaskContainernestedTask - Nested task to execute Sequentialpublic void execute()
throws BuildException
execute in class TaskBuildException - if one of the nested tasks fails.