public class DeploymentStartedNotification extends AbstractNotification
Notification.HtmlImContentProvidingNotification
NAVIGATION_SOURCE
Constructor and Description |
---|
DeploymentStartedNotification() |
Modifier and Type | Method and Description |
---|---|
protected Map<String,Object> |
getContext() |
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 |
getHtmlImContent() |
String |
getIMContent()
Retrieves the content for the IM notification
|
String |
getTextEmailContent()
Generates the text email content for the notifications
|
void |
setDeploymentProjectService(DeploymentProjectService deploymentProjectService) |
void |
setDeploymentResult(DeploymentResult deploymentResult) |
void |
setDeploymentResultService(DeploymentResultService deploymentResultService) |
void |
setDeploymentVersionLinkedJiraIssuesService(DeploymentVersionLinkedJiraIssuesService deploymentVersionLinkedJiraIssuesService) |
void |
setDeploymentVersionVcsChangesetService(DeploymentVersionVcsChangesetService deploymentVersionVcsChangesetService) |
void |
setTemplateRenderer(TemplateRenderer templateRenderer) |
void |
setTriggerManager(TriggerManager triggerManager) |
addRecipient, applyDefaultCssStyles, excludeRecipient, getEvent, getExcludedNotificationRecipients, getNotificationRecipients, getPojoEvent, getRepositoryData, getRepositoryData, setEvent, setEvent, setExcludedNotificationRecipients, setNotificationRecipients
@NotNull public String getDescription()
Notification
public String getTextEmailContent() throws Exception
Notification
Exception
- if there is a problem preventing production of the e-mail content.public String getHtmlEmailContent() throws Exception
Notification
Exception
- if there is a problem preventing production of the e-mail content.public String getEmailSubject() throws Exception
Notification
Exception
- if there is a problem preventing production of the e-mail subject.public String getIMContent()
Notification
public String getHtmlImContent()
getHtmlImContent
in interface Notification.HtmlImContentProvidingNotification
getHtmlImContent
in class AbstractNotification
public void setDeploymentResult(DeploymentResult deploymentResult)
public void setTemplateRenderer(TemplateRenderer templateRenderer)
public void setTriggerManager(TriggerManager triggerManager)
public void setDeploymentProjectService(DeploymentProjectService deploymentProjectService)
public void setDeploymentResultService(DeploymentResultService deploymentResultService)
public void setDeploymentVersionVcsChangesetService(DeploymentVersionVcsChangesetService deploymentVersionVcsChangesetService)
public void setDeploymentVersionLinkedJiraIssuesService(DeploymentVersionLinkedJiraIssuesService deploymentVersionLinkedJiraIssuesService)
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.