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

Method CreateChildObjects

lib/icinga/host.cpp:51–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51void Host::CreateChildObjects(const Type::Ptr& childType)
52{
53 if (childType == ScheduledDowntime::TypeInstance)
54 ScheduledDowntime::EvaluateApplyRules(this);
55
56 if (childType == Notification::TypeInstance)
57 Notification::EvaluateApplyRules(this);
58
59 if (childType == Dependency::TypeInstance)
60 Dependency::EvaluateApplyRules(this);
61
62 if (childType == Service::TypeInstance)
63 Service::EvaluateApplyRules(this);
64}
65
66void Host::Stop(bool runtimeRemoved)
67{

Callers 1

CommitNewItemsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected