| 291 | } |
| 292 | |
| 293 | void Checkable::NotifyDowntimeEnd(const Downtime::Ptr& downtime) |
| 294 | { |
| 295 | /* don't send notifications for downtimes which never triggered */ |
| 296 | if (!downtime->IsTriggered()) |
| 297 | return; |
| 298 | |
| 299 | Checkable::Ptr checkable = downtime->GetCheckable(); |
| 300 | |
| 301 | if (!checkable->IsPaused()) |
| 302 | OnNotificationsRequested(checkable, NotificationDowntimeEnd, checkable->GetLastCheckResult(), downtime->GetAuthor(), downtime->GetComment(), nullptr); |
| 303 | } |
| 304 | |
| 305 | void Checkable::ValidateCheckInterval(const Lazy<double>& lvalue, const ValidationUtils& utils) |
| 306 | { |
nothing calls this directly
no test coverage detected