public class EmailPlugin extends Object
Modifier and Type | Field and Description |
---|---|
protected static ArrayList<NotificationMail> |
BUFFER_EMAILS |
protected static int |
SECONDS2WAIT |
Modifier and Type | Method and Description |
---|---|
static EmailPlugin |
getInstance(org.gcube.vomanagement.usermanagement.UserManager userManager,
String context) |
void |
sendNotification(String portalURL,
String siteLandingPagePath,
org.gcube.portal.databook.shared.Notification notification2Save,
String vreName,
String portalName,
String senderEmail,
Set<String> mentionedGroups,
String... hashtags)
enqueue the message to send
|
protected static final int SECONDS2WAIT
protected static ArrayList<NotificationMail> BUFFER_EMAILS
public static EmailPlugin getInstance(org.gcube.vomanagement.usermanagement.UserManager userManager, String context)
context
- the infrastucture context (scope)public void sendNotification(String portalURL, String siteLandingPagePath, org.gcube.portal.databook.shared.Notification notification2Save, String vreName, String portalName, String senderEmail, Set<String> mentionedGroups, String... hashtags)
notification2Save
- vreName
- portalName
- senderEmail
- Copyright © 2019. All Rights Reserved.