|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gcube.messaging.common.consumer.mail.MailClient
public class MailClient
Constructor Summary | |
---|---|
MailClient()
constructor |
Method Summary | |
---|---|
void |
addScope(GCUBEScope scope)
Add information to mail Client for the given scope |
java.util.ArrayList<java.lang.String> |
getNotificationMailForScopeAndDomain(java.lang.String scope,
java.lang.String domain)
|
java.util.Map<java.lang.String,MailRecipientHelper> |
getScopeMap()
|
java.util.ArrayList<java.lang.String> |
getSummaryMailForScope(java.lang.String scope)
|
void |
initialize()
Initialization |
void |
sendMailNotification(java.lang.String message,
Notification not,
java.lang.String groupName,
java.lang.String domain)
Send a mail notification |
void |
sendMailSummary(java.lang.String message,
java.lang.String groupName)
Send mail summary |
void |
setScopeMap(java.util.Map<java.lang.String,MailRecipientHelper> scopeMap)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MailClient()
Method Detail |
---|
public void initialize()
public void addScope(GCUBEScope scope) throws java.lang.Exception
scope
- the scope
java.lang.Exception
- Exceptionpublic java.util.Map<java.lang.String,MailRecipientHelper> getScopeMap()
public void setScopeMap(java.util.Map<java.lang.String,MailRecipientHelper> scopeMap)
public void sendMailSummary(java.lang.String message, java.lang.String groupName)
message
- the message to sendgroupName
- the group to send the message topublic void sendMailNotification(java.lang.String message, Notification not, java.lang.String groupName, java.lang.String domain)
not
- the notificationgroupName
- the group to send the message topublic java.util.ArrayList<java.lang.String> getNotificationMailForScopeAndDomain(java.lang.String scope, java.lang.String domain)
scope
- domain
-
public java.util.ArrayList<java.lang.String> getSummaryMailForScope(java.lang.String scope)
scope
- domain
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |