classes/phing/tasks/system/Retry.php
public function addTask(Task $t)
    {
        if ($this->nestedTask !== null) {
            throw new BuildException(
                'The retry task container accepts a single nested task'
                . ' (which may be a sequential task container)'
            );
        }
        $this->nestedTask = $t;
    }
public function addTask(Task $t)
    {
        if ($this->nestedTask !== null) {
            throw new BuildException(
                'The retry task container accepts a single nested task'
                . ' (which may be a sequential task container)'
            );
        }
        $this->nestedTask = $t;
    }
public function addTask ( Task $ t ) { if ( $ this -> nestedTask !== null ) { throw new BuildException ( 'The retry task container accepts a single nested task' . ' (which may be a sequential task container)' ) ; } $ this -> nestedTask = $ t ; }
Set the task.

@param Task $t the task to retry.

@throws BuildException
Set the task .