]> granicus.if.org Git - icinga2/blob - lib/methods/icingachecktask.hpp
Merge pull request #7527 from Icinga/bugfix/checkable-command-endpoint-zone
[icinga2] / lib / methods / icingachecktask.hpp
1 /* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
2
3 #ifndef ICINGACHECKTASK_H
4 #define ICINGACHECKTASK_H
5
6 #include "methods/i2-methods.hpp"
7 #include "icinga/service.hpp"
8
9 namespace icinga
10 {
11
12 /**
13  * Icinga check type.
14  *
15  * @ingroup methods
16  */
17 class IcingaCheckTask
18 {
19 public:
20         static void ScriptFunc(const Checkable::Ptr& checkable, const CheckResult::Ptr& cr,
21                 const Dictionary::Ptr& resolvedMacros, bool useResolvedMacros);
22
23 private:
24         IcingaCheckTask();
25 };
26
27 }
28
29 #endif /* ICINGACHECKTASK_H */