@Service @RunLevel(value=10) public class LogNotificationEventFactory extends NotificationEventFactory<LogNotificationEvent>
LogNotifier| Constructor and Description |
|---|
LogNotificationEventFactory() |
| Modifier and Type | Method and Description |
|---|---|
LogNotificationEvent |
buildNotificationEvent(Level level,
String subject,
String message,
Object[] parameters)
Creates a
NotificationEvent |
LogNotificationEvent |
buildNotificationEvent(String name,
List<HealthCheckResultEntry> entries,
Level level) |
LogNotificationEvent |
buildNotificationEvent(String subject,
RequestTrace requestTrace) |
LogNotificationEvent |
buildNotificationEvent(String subject,
String message)
Creates a
NotificationEvent |
protected LogNotificationEvent |
createEventInstance() |
getCumulativeMessages, getMessageFormatted, getStore, getSubject, initializeEvent, registerEventFactoryprotected LogNotificationEvent createEventInstance()
createEventInstance in class NotificationEventFactory<LogNotificationEvent>public LogNotificationEvent buildNotificationEvent(String subject, RequestTrace requestTrace)
buildNotificationEvent in class NotificationEventFactory<LogNotificationEvent>public LogNotificationEvent buildNotificationEvent(String subject, String message)
NotificationEventFactoryNotificationEventbuildNotificationEvent in class NotificationEventFactory<LogNotificationEvent>subject - Subject of the message
i.e. what the subject line is if the event is sent to the Javamail notifiermessage - The message text of the eventNotificationEventpublic LogNotificationEvent buildNotificationEvent(String name, List<HealthCheckResultEntry> entries, Level level)
buildNotificationEvent in class NotificationEventFactory<LogNotificationEvent>public LogNotificationEvent buildNotificationEvent(Level level, String subject, String message, Object[] parameters)
NotificationEventFactoryNotificationEventbuildNotificationEvent in class NotificationEventFactory<LogNotificationEvent>level - Severity level of notification. This is unused in the base factorysubject - Subject of the message
i.e. what the subject line is if the event is sent to the Javamail notifiermessage - The message text of the eventparameters - An additional parameters to be formatted as part of the messageNotificationEventCopyright © 2019. All rights reserved.