Property | Type | Description | |
---|---|---|---|
$_config | Components_Config | The configuration for the current job. |
Method | Description | |
---|---|---|
__construct ( Components_Config $config, Components_Qc_Tasks $tasks, Components_Output $output ) | Constructor. | |
getName ( ) : string | Get the name of this task. | |
run ( &$options ) : integer | 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. | |
validate ( array $options ) : array | Validate the preconditions required for this release task. |
Method | Description | |
---|---|---|
getComponent ( ) : Components_Component | Get the component this task should act upon. | |
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_Config $config, Components_Qc_Tasks $tasks, Components_Output $output ) | ||
$config | Components_Config | The configuration for the current job. |
$tasks | Components_Qc_Tasks | The task handler. |
$output | Components_Output | Accepts output. |
protected getComponent ( ) : Components_Component | ||
return | Components_Component | The component to be checked. |
protected getOutput ( ) : Components_Output | ||
return | Components_Output | The output handler. |
protected getTasks ( ) : Components_Release_Tasks | ||
return | Components_Release_Tasks | The release tasks handler. |
public setComponent ( Components_Component $component ) : null | ||
$component | Components_Component | The component to be checked. |
return | null |