Package org.graylog2.alerts
Interface AlertSender
- All Known Implementing Classes:
FormattedEmailAlertSender
public interface AlertSender
-
Method Summary
Modifier and TypeMethodDescriptionvoid
initialize
(Configuration configuration) void
sendEmails
(Stream stream, EmailRecipients recipients, AlertCondition.CheckResult checkResult) void
sendEmails
(Stream stream, EmailRecipients recipients, AlertCondition.CheckResult checkResult, List<Message> backlog)
-
Method Details
-
initialize
-
sendEmails
void sendEmails(Stream stream, EmailRecipients recipients, AlertCondition.CheckResult checkResult) throws TransportConfigurationException, org.apache.commons.mail.EmailException - Throws:
TransportConfigurationException
org.apache.commons.mail.EmailException
-
sendEmails
void sendEmails(Stream stream, EmailRecipients recipients, AlertCondition.CheckResult checkResult, List<Message> backlog) throws TransportConfigurationException, org.apache.commons.mail.EmailException - Throws:
TransportConfigurationException
org.apache.commons.mail.EmailException
-