summaryrefslogtreecommitdiffstats
path: root/lib/methods/exceptionchecktask.hpp
blob: 09db1045f4ab4f1f7619a9915843c902fb5d5064 (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) 2012 Icinga GmbH | GPLv2+ */

#ifndef EXCEPTIONCHECKTASK_H
#define EXCEPTIONCHECKTASK_H

#include "icinga/service.hpp"
#include "base/dictionary.hpp"

namespace icinga
{

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

private:
	ExceptionCheckTask();
};

}

#endif /* EXCEPTIONCHECKTASK_H */