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

Method CreateChildObjects

lib/icinga/service.cpp:78–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78void Service::CreateChildObjects(const Type::Ptr& childType)
79{
80 if (childType == ScheduledDowntime::TypeInstance)
81 ScheduledDowntime::EvaluateApplyRules(this);
82
83 if (childType == Notification::TypeInstance)
84 Notification::EvaluateApplyRules(this);
85
86 if (childType == Dependency::TypeInstance)
87 Dependency::EvaluateApplyRules(this);
88}
89
90Service::Ptr Service::GetByNamePair(const String& hostName, const String& serviceName)
91{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected