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, setTaskTypeclone, getDescription, getLocation, getProject, setDescription, setLocation, setProjectpublic 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.