REBELinBLUE\Deployer\Presenters\DeploymentPresenter::presentCcTrayStatus PHP 메소드

presentCcTrayStatus() 공개 메소드

Returns the build status needed by CCTray These strings can not be translated.
public presentCcTrayStatus ( ) : string
리턴 string
    public function presentCcTrayStatus()
    {
        if ($this->status === Deployment::COMPLETED || $this->status === Deployment::COMPLETED_WITH_ERRORS) {
            return 'Success';
        } elseif ($this->status === Deployment::FAILED || $this->status === Deployment::ABORTED) {
            return 'Failure';
        }
        return 'Unknown';
    }