public class AccessTokenCreatedNotification extends AbstractAccessTokenNotification
Notification.HtmlImContentProvidingNotification
bambooUserManager, templateRenderer, textProvider
NAVIGATION_SOURCE
Constructor and Description |
---|
AccessTokenCreatedNotification() |
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Text describing this notification object - used for logging/debugging purposes.
|
String |
getEmailSubject()
Retrieves the subject for the notification.
|
String |
getHtmlEmailContent()
Generates the html for the html part of an email notification.
|
String |
getIMContent()
Retrieves the content for the IM notification
|
String |
getTextEmailContent()
Generates the text email content for the notifications
|
getContextParams
addRecipient, applyDefaultCssStyles, excludeRecipient, getCommitUrl, getEvent, getExcludedNotificationRecipients, getHtmlImContent, getNotificationRecipients, getPojoEvent, getRepositoryData, getRepositoryData, setEvent, setEvent, setExcludedNotificationRecipients, setNotificationRecipients
@NotNull public String getDescription()
Notification
@Nullable public String getTextEmailContent() throws Exception
Notification
Exception
- if there is a problem preventing production of the e-mail content.@Nullable public String getHtmlEmailContent()
Notification
@Nullable public String getEmailSubject()
Notification
@Nullable public String getIMContent()
Notification
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.