checkTime = (int) $checkTime; return $this; } /** * Get the time when the next check of a host or service is to be scheduled * * @return int Unix timestamp */ public function getCheckTime() { return $this->checkTime; } /** * Set whether the check is forced * * @param bool $forced * * @return $this */ public function setForced($forced = true) { $this->forced = (bool) $forced; return $this; } /** * Is the check forced? * * @return bool */ public function getForced() { return $this->forced; } /** * (non-PHPDoc) * @see \Icinga\Module\Monitoring\Command\Object\IcingaCommand::getName() For the method documentation. */ public function getName() { return 'ScheduleCheck'; } }