MCPcopy Create free account
hub / github.com/Icinga/icinga2 / GetConfigFields

Method GetConfigFields

lib/db_ido/servicegroupdbobject.cpp:18–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16{ }
17
18Dictionary::Ptr ServiceGroupDbObject::GetConfigFields() const
19{
20 ServiceGroup::Ptr group = static_pointer_cast<ServiceGroup>(GetObject());
21
22 return new Dictionary({
23 { "alias", group->GetDisplayName() },
24 { "notes", group->GetNotes() },
25 { "notes_url", group->GetNotesUrl() },
26 { "action_url", group->GetActionUrl() }
27 });
28}
29
30Dictionary::Ptr ServiceGroupDbObject::GetStatusFields() const
31{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected