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