summaryrefslogtreecommitdiffstats
path: root/lib/icingadb/icingadbchecktask.hpp
blob: ba7d61b1edfbf656f94c7016c94bf68e8cebdf7c (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
/* Icinga 2 | (c) 2022 Icinga GmbH | GPLv2+ */

#ifndef ICINGADBCHECKTASK_H
#define ICINGADBCHECKTASK_H

#include "icingadb/icingadb.hpp"
#include "icinga/checkable.hpp"

namespace icinga
{

/**
 * Icinga DB check.
 *
 * @ingroup icingadb
 */
class IcingadbCheckTask
{
public:
	static void ScriptFunc(const Checkable::Ptr& checkable, const CheckResult::Ptr& cr,
		const Dictionary::Ptr& resolvedMacros, bool useResolvedMacros);

private:
	IcingadbCheckTask();
};

}

#endif /* ICINGADBCHECKTASK_H */