public function getNextBuildTime(BuildInterface $build)
    {
        if ($build->getLastBuild()->getBuildTime() == null
            && $build->getStatus() !== BuildInterface::STOPPED
        ) {
            if (!isset($this->_nextBuildTime)) {
                $this->_nextBuildTime = time();
            }

            return $this->_nextBuildTime;
        } else {
            return;
        }
    }
public function getNextBuildTime(BuildInterface $build)
    {
        if ($build->getLastBuild()->getBuildTime() == null
            && $build->getStatus() !== BuildInterface::STOPPED
        ) {
            if (!isset($this->_nextBuildTime)) {
                $this->_nextBuildTime = time();
            }

            return $this->_nextBuildTime;
        } else {
            return;
        }
    }
public function getNextBuildTime ( BuildInterface $ build ) { if ( $ build -> getLastBuild ( ) -> getBuildTime ( ) == null && $ build -> getStatus ( ) !== BuildInterface :: STOPPED ) { if ( ! isset ( $ this -> _nextBuildTime ) ) { $ this -> _nextBuildTime = time ( ) ; } return $ this -> _nextBuildTime ; } else { return ; } }
Calculates the next build timestamp
this is a build once scheduler.

@return int
Calculates the next build timestamp this is a build once scheduler .