public class FormattedEmailAlertSender extends StaticEmailAlertSender implements AlertSender
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
bodyTemplate |
configuration| Constructor and Description |
|---|
FormattedEmailAlertSender(Configuration configuration,
StreamRuleService streamRuleService,
UserService userService) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
buildBody(Stream stream,
AlertCondition.CheckResult checkResult,
java.util.List<Message> backlog) |
protected java.lang.String |
buildSubject(Stream stream,
AlertCondition.CheckResult checkResult,
Configuration config,
java.util.List<Message> backlog) |
void |
initialize(Configuration configuration) |
buildBacklogSummary, buildStreamDetailsURL, sendEmails, sendEmailsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsendEmails, sendEmailspublic static final java.lang.String bodyTemplate
@Inject public FormattedEmailAlertSender(Configuration configuration, StreamRuleService streamRuleService, UserService userService)
public void initialize(Configuration configuration)
initialize in interface AlertSenderinitialize in class StaticEmailAlertSenderprotected java.lang.String buildSubject(Stream stream, AlertCondition.CheckResult checkResult, Configuration config, java.util.List<Message> backlog)
buildSubject in class StaticEmailAlertSenderprotected java.lang.String buildBody(Stream stream, AlertCondition.CheckResult checkResult, java.util.List<Message> backlog)
buildBody in class StaticEmailAlertSenderCopyright © 2012-2014 TORCH GmbH. All Rights Reserved.