MCPcopy Create free account
hub / github.com/Icinga/icinga2 / Execute

Method Execute

lib/icinga/notificationcommand.cpp:13–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11thread_local NotificationCommand::Ptr NotificationCommand::ExecuteOverride;
12
13Dictionary::Ptr NotificationCommand::Execute(const Notification::Ptr& notification,
14 const User::Ptr& user, const CheckResult::Ptr& cr, const NotificationType& type,
15 const String& author, const String& comment, const Dictionary::Ptr& resolvedMacros,
16 bool useResolvedMacros)
17{
18 return GetExecute()->Invoke({
19 notification,
20 user,
21 cr,
22 type,
23 author,
24 comment,
25 resolvedMacros,
26 useResolvedMacros,
27 });
28}

Callers

nothing calls this directly

Calls 1

InvokeMethod · 0.45

Tested by

no test coverage detected