PHP Class REBELinBLUE\Deployer\Presenters\DeploymentPresenter

Inheritance: extends Robbo\Presenter\Presenter, use trait RuntimePresenter
Mostra file Open project: rebelinblue/deployer

Public Methods

Method Description
presentCcTrayStatus ( ) : string Returns the build status needed by CCTray These strings can not be translated.
presentCommitterName ( ) : string Gets the name of the committer, or the "Loading" string if it has not yet been determined.
presentCssClass ( ) : string Gets the CSS class for the deployment status.
presentIcon ( ) : string Gets the CSS icon class for the deployment status.
presentOptionalCommandsUsed ( ) : string Gets the IDs of the optional commands which were included in the deployments, for use in a data attribute.
presentReadableStatus ( ) : string Gets the translated deployment status string.
presentShortCommitHash ( ) : string Gets the short commit hash, or the "Loading" string if it has not yet been determined.
presentTimelineCssClass ( ) : string Gets the CSS class for the deployment status for the timeline.

Method Details

presentCcTrayStatus() public method

Returns the build status needed by CCTray These strings can not be translated.
public presentCcTrayStatus ( ) : string
return string

presentCommitterName() public method

Gets the name of the committer, or the "Loading" string if it has not yet been determined.
public presentCommitterName ( ) : string
return string

presentCssClass() public method

Gets the CSS class for the deployment status.
public presentCssClass ( ) : string
return string

presentIcon() public method

Gets the CSS icon class for the deployment status.
public presentIcon ( ) : string
return string

presentOptionalCommandsUsed() public method

Gets the IDs of the optional commands which were included in the deployments, for use in a data attribute.

presentReadableStatus() public method

Gets the translated deployment status string.
public presentReadableStatus ( ) : string
return string

presentShortCommitHash() public method

Gets the short commit hash, or the "Loading" string if it has not yet been determined.
public presentShortCommitHash ( ) : string
return string

presentTimelineCssClass() public method

Gets the CSS class for the deployment status for the timeline.
public presentTimelineCssClass ( ) : string
return string