Package org.graylog2.alerts
Interface AlertSender
- All Known Implementing Classes:
FormattedEmailAlertSender
public interface AlertSender
-
Method Summary
Modifier and TypeMethodDescriptionvoidinitialize(Configuration configuration) voidsendEmails(Stream stream, EmailRecipients recipients, AlertCondition.CheckResult checkResult) voidsendEmails(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:
TransportConfigurationExceptionorg.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:
TransportConfigurationExceptionorg.apache.commons.mail.EmailException
-