|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EmailManagerLocal
Local interface that allows clients to send SMTP email messages.
| Method Summary | |
|---|---|
Map<String,String> |
getAlertEmailMessage(String resourceHierarchy,
String resourceName,
String alertName,
String priority,
String timestamp,
String conditionLogs,
String alertUrl)
This returns an email message based on the alert email template with its replacement tokens replaced with the given strings. |
Collection<String> |
sendEmail(Collection<String> toAddresses,
String messageSubject,
String messageBody)
Send email to the addressses passed in toAddresses with the passed subject and body. |
| Method Detail |
|---|
Collection<String> sendEmail(Collection<String> toAddresses,
String messageSubject,
String messageBody)
toAddresses - list of email addresses to send tomessageSubject - subject of the email sentmessageBody - body of the email to be sent
Map<String,String> getAlertEmailMessage(String resourceHierarchy,
String resourceName,
String alertName,
String priority,
String timestamp,
String conditionLogs,
String alertUrl)
resourceHierarchy - ascii tree structure containing the names of resources up to the corresponding platformresourceName - name of the resource that triggered the alertalertName - name of the alert that was triggeredpriority - the priority of the alerttimestamp - the date/time when the alert was triggeredconditionLogs - that conditionLogs that were met that caused the alert to triggeralertUrl - URL to the GUI page of the alert that was triggered
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||