| 76 | } |
| 77 | |
| 78 | void 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 | |
| 90 | Service::Ptr Service::GetByNamePair(const String& hostName, const String& serviceName) |
| 91 | { |
nothing calls this directly
no outgoing calls
no test coverage detected