public class DeploymentStartedNotification extends AbstractNotification implements DeploymentResultAwareNotification
Notification.HtmlImContentProvidingNotification
NAVIGATION_SOURCE
Constructor and Description |
---|
DeploymentStartedNotification() |
Modifier and Type | Method and Description |
---|---|
protected Map<String,Object> |
getContext() |
DeploymentResult |
getDeploymentResult() |
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 |
setDeploymentVersionService(DeploymentVersionService deploymentVersionService) |
void |
setDeploymentVersionVcsChangesetService(DeploymentVersionVcsChangesetService deploymentVersionVcsChangesetService) |
void |
setTemplateRenderer(TemplateRenderer templateRenderer) |
void |
setTriggerManager(TriggerManager triggerManager) |
addRecipient, applyDefaultCssStyles, excludeRecipient, getCommitUrl, getEvent, getExcludedNotificationRecipients, getNotificationRecipients, getPojoEvent, getRepositoryData, getRepositoryData, setEvent, setEvent, setExcludedNotificationRecipients, setNotificationRecipients
@NotNull public String getDescription()
Notification
getDescription
in interface Notification
public String getTextEmailContent() throws Exception
Notification
getTextEmailContent
in interface Notification
Exception
- if there is a problem preventing production of the e-mail content.public String getHtmlEmailContent() throws Exception
Notification
getHtmlEmailContent
in interface Notification
Exception
- if there is a problem preventing production of the e-mail content.public String getEmailSubject() throws Exception
Notification
getEmailSubject
in interface Notification
Exception
- if there is a problem preventing production of the e-mail subject.public String getIMContent()
Notification
getIMContent
in interface Notification
public String getHtmlImContent()
getHtmlImContent
in interface Notification.HtmlImContentProvidingNotification
getHtmlImContent
in class AbstractNotification
public DeploymentResult getDeploymentResult()
getDeploymentResult
in interface DeploymentResultAwareNotification
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)
public void setDeploymentVersionService(DeploymentVersionService deploymentVersionService)
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.