Object/IcingaService: Add boolean render methods to affected properties

This commit is contained in:
Alexander Fuhr 2015-06-12 11:01:26 +02:00
parent 7e815e70d7
commit db58cb8882
1 changed files with 35 additions and 1 deletions

View File

@ -34,9 +34,43 @@ class IcingaService extends IcingaObject
'object_type' => null,
);
protected function renderCheck_command_id()
{
return $this->renderCommandProperty($this->check_command_id);
}
protected function renderEnable_notifications()
{
return $this->renderBooleanProperty('enable_notifications');
}
protected function renderEnable_active_checks()
{
return $this->renderBooleanProperty('enable_active_checks');
}
protected function renderEnable_passive_checks()
{
return $this->renderBooleanProperty('enable_passive_checks');
}
protected function renderEnable_event_handler()
{
return $this->renderBooleanProperty('enable_event_handler');
}
protected function renderEnable_flapping()
{
return $this->renderBooleanProperty('enable_flapping');
}
protected function renderEnable_perfdata()
{
return $this->renderBooleanProperty('enable_perfdata');
}
protected function renderVolatile()
{
return $this->renderBooleanProperty('volatile');
}
}