icinga2/lib/methods/icingachecktask.hpp

30 lines
490 B
C++
Raw Normal View History

/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
#ifndef ICINGACHECKTASK_H
#define ICINGACHECKTASK_H
2014-05-25 16:23:35 +02:00
#include "methods/i2-methods.hpp"
#include "icinga/service.hpp"
namespace icinga
{
/**
* Icinga check type.
*
* @ingroup methods
*/
2017-12-31 07:22:16 +01:00
class IcingaCheckTask
{
public:
static void ScriptFunc(const Checkable::Ptr& checkable, const CheckResult::Ptr& cr,
const Dictionary::Ptr& resolvedMacros, bool useResolvedMacros);
private:
IcingaCheckTask();
};
}
#endif /* ICINGACHECKTASK_H */