Class SystemNotificationRenderService
java.lang.Object
org.graylog.events.processor.systemnotification.SystemNotificationRenderService
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
class
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSystemNotificationRenderService
(NotificationService notificationService, Configuration graylogConfig) -
Method Summary
Modifier and TypeMethodDescriptionrender
(Notification notification) render
(Notification.Type type, String key, SystemNotificationRenderService.Format format, Map<String, Object> values) render
(Notification notification, SystemNotificationRenderService.Format format, Map<String, Object> values)
-
Field Details
-
TEMPLATE_BASE_PATH
- See Also:
-
-
Constructor Details
-
SystemNotificationRenderService
@Inject public SystemNotificationRenderService(NotificationService notificationService, Configuration graylogConfig)
-
-
Method Details
-
render
public SystemNotificationRenderService.RenderResponse render(Notification.Type type, String key, SystemNotificationRenderService.Format format, Map<String, Object> values) -
render
-
render
public SystemNotificationRenderService.RenderResponse render(Notification notification, SystemNotificationRenderService.Format format, Map<String, Object> values)
-