PHP Класс Components_Release_Tasks, horde

Copyright 2011-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Автор: Gunnar Wrobel ([email protected])
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( Components_Dependencies $dependencies ) Constructor.
getTask ( string $name, Components_Component $component ) : Components_Release_Task Return the named task.
isTaskActive ( string $task ) : boolean Is the specified task active for the current run?
pretend ( ) : boolean Is the current run operating in "pretend" mode?
run ( array $sequence, Components_Component $component, array $options = [] ) : null Run a sequence of release tasks.

Описание методов

__construct() публичный Метод

Constructor.
public __construct ( Components_Dependencies $dependencies )
$dependencies Components_Dependencies The task factory.

getTask() публичный Метод

Return the named task.
public getTask ( string $name, Components_Component $component ) : Components_Release_Task
$name string The name of the task.
$component Components_Component The component to be released.
Результат Components_Release_Task The task.

isTaskActive() публичный Метод

Is the specified task active for the current run?
public isTaskActive ( string $task ) : boolean
$task string The task name.
Результат boolean True in case the task is active.

pretend() публичный Метод

Is the current run operating in "pretend" mode?
public pretend ( ) : boolean
Результат boolean True in case we should be pretending.

run() публичный Метод

Run a sequence of release tasks.
public run ( array $sequence, Components_Component $component, array $options = [] ) : null
$sequence array The task sequence.
$component Components_Component The component to be released.
$options array Additional options.
Результат null