1 /* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
6 #include "icinga/eventcommand-ti.hpp"
7 #include "icinga/checkable.hpp"
13 * An event handler command.
17 class EventCommand final : public ObjectImpl<EventCommand>
20 DECLARE_OBJECT(EventCommand);
21 DECLARE_OBJECTNAME(EventCommand);
23 virtual void Execute(const Checkable::Ptr& checkable,
24 const Dictionary::Ptr& resolvedMacros = nullptr,
25 bool useResolvedMacros = false);
30 #endif /* EVENTCOMMAND_H */