PHP Class 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.
Show file Open project: horde/horde

Public Methods

Method Description
__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.

Method Details

__construct() public method

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

getTask() public method

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.
return Components_Release_Task The task.

isTaskActive() public method

Is the specified task active for the current run?
public isTaskActive ( string $task ) : boolean
$task string The task name.
return boolean True in case the task is active.

pretend() public method

Is the current run operating in "pretend" mode?
public pretend ( ) : boolean
return boolean True in case we should be pretending.

run() public method

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.
return null