Метод | Описание | |
---|---|---|
__construct ( Components_Release_Tasks $tasks, Components_Release_Notes $notes, Components_Output $output ) | Constructor. | |
getName ( ) : string | Get the name of this task. | |
run ( &$options ) : null | Run the task. | |
setComponent ( Components_Component $component ) : null | Set the component this task should act upon. | |
setName ( string $name ) : null | Set the name of this task. | |
skip ( array $options ) : boolean | Can the task be skipped? | |
validate ( array $options ) : array | Validate the preconditions required for this release task. |
Метод | Описание | |
---|---|---|
getComponent ( ) : Components_Component | Get the component this task should act upon. | |
getNotes ( ) : Components_Release_Notes | Get the release notes. | |
getOutput ( ) : Components_Output | Get the output handler. | |
getTasks ( ) : Components_Release_Tasks | Get the tasks handler. | |
system ( string $call ) : string | Run a system call. | |
systemInDirectory ( string $call, string $target_dir ) : string | Run a system call. |
public __construct ( Components_Release_Tasks $tasks, Components_Release_Notes $notes, Components_Output $output ) | ||
$tasks | Components_Release_Tasks | The task handler. |
$notes | Components_Release_Notes | The release notes. |
$output | Components_Output | Accepts output. |
protected getComponent ( ) : Components_Component | ||
Результат | Components_Component | The component to be released. |
protected getNotes ( ) : Components_Release_Notes | ||
Результат | Components_Release_Notes | The release notes. |
protected getOutput ( ) : Components_Output | ||
Результат | Components_Output | The output handler. |
protected getTasks ( ) : Components_Release_Tasks | ||
Результат | Components_Release_Tasks | The release tasks handler. |
public setComponent ( Components_Component $component ) : null | ||
$component | Components_Component | The component to be released. |
Результат | null |