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