1 /* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
3 #include "icinga/notificationcommand.hpp"
4 #include "icinga/notificationcommand-ti.cpp"
6 using namespace icinga;
8 REGISTER_TYPE(NotificationCommand);
10 Dictionary::Ptr NotificationCommand::Execute(const Notification::Ptr& notification,
11 const User::Ptr& user, const CheckResult::Ptr& cr, const NotificationResult::Ptr& nr,
12 const NotificationType& type, const String& author, const String& comment,
13 const Dictionary::Ptr& resolvedMacros, bool useResolvedMacros)
15 return GetExecute()->Invoke({