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;
        }
    }