# tasks/system/SequentialTask.php

## \SequentialTask
jump to top

Package: phing\tasks\system

Sequential is a container task that contains other Phing Task objects.

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.

Implements
  \TaskContainer
Parent(s)
  \Task < \ProjectComponent
Since
  2.1.2

### Properties

`$nestedTasks= 'array()'`

Optional Vector holding the nested tasks

Default value `array()`Details

Type
  n/a

### Methods

`addTask( \Task $nestedTask ) : void`

Add a nested task to Sequential.

@param object The task to be added to the container

Parameters

Name | Type | Description
--- | --- | ---
$nestedTask | \Task | Nested task to execute Sequential

`getDescription( ) : void`

`getLocation( ) : void`

`getOwningTarget( ) : void`

`getProject( ) : void`

`getRegisterSlot( ) : void`

`getRuntimeConfigurableWrapper( ) : void`

`getTaskName( ) : void`

`getTaskType( ) : void`

`init( ) : void`

`log( ) : void`

`main( ) : void`

Execute all nestedTasks.

Throws

Exception | Description
--- | ---
\BuildException | if one of the nested tasks fails.

`maybeConfigure( ) : void`

`perform( ) : void`

`setDescription( ) : void`

`setLocation( ) : void`

`setOwningTarget( ) : void`

`setProject( ) : void`

`setRuntimeConfigurableWrapper( ) : void`

`setTaskName( ) : void`

`setTaskType( ) : void`

Documentation was generated by DocBlox 0.17.1.