summaryrefslogtreecommitdiffstats
path: root/lib/methods/dummychecktask.hpp
blob: 621bbfb9f02bd43bf2a30afa5846e68a7b6190f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */

#ifndef DUMMYCHECKTASK_H
#define DUMMYCHECKTASK_H

#include "methods/i2-methods.hpp"
#include "icinga/service.hpp"
#include "base/dictionary.hpp"

namespace icinga
{

/**
 * Test class for additional check types. Implements the "dummy" check type.
 *
 * @ingroup methods
 */
class DummyCheckTask
{
public:
	static void ScriptFunc(const Checkable::Ptr& checkable, const CheckResult::Ptr& cr,
		const Dictionary::Ptr& resolvedMacros, bool useResolvedMacros);

private:
	DummyCheckTask();
};

}

#endif /* DUMMYCHECKTASK_H */