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.
파일 보기 프로젝트 열기: horde/horde

공개 메소드들

메소드 설명
__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