Class DeploymentFinishedNotification
- java.lang.Object
-
- com.atlassian.bamboo.notification.AbstractNotification
-
- com.atlassian.bamboo.deployments.notification.DeploymentFinishedNotification
-
- All Implemented Interfaces:
DeploymentResultAwareNotification,Notification,Notification.HtmlImContentProvidingNotification
public class DeploymentFinishedNotification extends AbstractNotification implements DeploymentResultAwareNotification
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.atlassian.bamboo.notification.Notification
Notification.HtmlImContentProvidingNotification
-
-
Field Summary
-
Fields inherited from class com.atlassian.bamboo.notification.AbstractNotification
NAVIGATION_SOURCE
-
-
Constructor Summary
Constructors Constructor Description DeploymentFinishedNotification()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Map<String,Object>getContext()@NotNull DeploymentResultgetDeploymentResult()@NotNull StringgetDescription()Text describing this notification object - used for logging/debugging purposes.StringgetEmailSubject()Retrieves the subject for the notification.StringgetHtmlEmailContent()Generates the html for the html part of an email notification.StringgetHtmlImContent()StringgetIMContent()Retrieves the content for the IM notificationStringgetTextEmailContent()Generates the text email content for the notificationsvoidsetDeploymentProjectService(DeploymentProjectService deploymentProjectService)voidsetDeploymentResult(DeploymentResult deploymentResult)voidsetDeploymentResultService(DeploymentResultService deploymentResultService)voidsetDeploymentVersionLinkedJiraIssuesService(DeploymentVersionLinkedJiraIssuesService deploymentVersionLinkedJiraIssuesService)voidsetDeploymentVersionService(DeploymentVersionService deploymentVersionService)voidsetDeploymentVersionVcsChangesetService(DeploymentVersionVcsChangesetService deploymentVersionVcsChangesetService)voidsetTemplateRenderer(TemplateRenderer templateRenderer)voidsetTriggerManager(TriggerManager triggerManager)-
Methods inherited from class com.atlassian.bamboo.notification.AbstractNotification
addRecipient, applyDefaultCssStyles, excludeRecipient, getCommitUrl, getEvent, getExcludedNotificationRecipients, getNotificationRecipients, getPojoEvent, getRepositoryData, getRepositoryData, setEvent, setEvent, setExcludedNotificationRecipients, setNotificationRecipients
-
-
-
-
Method Detail
-
getDescription
@NotNull public @NotNull String getDescription()
Description copied from interface:NotificationText describing this notification object - used for logging/debugging purposes.- Specified by:
getDescriptionin interfaceNotification- Returns:
- Notification's description
-
getTextEmailContent
public String getTextEmailContent()
Description copied from interface:NotificationGenerates the text email content for the notifications- Specified by:
getTextEmailContentin interfaceNotification- Returns:
- Email content formatted as text for this notification
-
getHtmlEmailContent
public String getHtmlEmailContent()
Description copied from interface:NotificationGenerates the html for the html part of an email notification.- Specified by:
getHtmlEmailContentin interfaceNotification- Returns:
- Email content formatted as HTML for this notification
-
getEmailSubject
public String getEmailSubject()
Description copied from interface:NotificationRetrieves the subject for the notification.- Specified by:
getEmailSubjectin interfaceNotification- Returns:
- Email subject for this notification
-
getIMContent
public String getIMContent()
Description copied from interface:NotificationRetrieves the content for the IM notification- Specified by:
getIMContentin interfaceNotification- Returns:
- IM message content for this notification
-
getHtmlImContent
public String getHtmlImContent()
- Specified by:
getHtmlImContentin interfaceNotification.HtmlImContentProvidingNotification- Overrides:
getHtmlImContentin classAbstractNotification
-
getDeploymentResult
@NotNull public @NotNull DeploymentResult getDeploymentResult()
- Specified by:
getDeploymentResultin interfaceDeploymentResultAwareNotification
-
setDeploymentResult
public void setDeploymentResult(DeploymentResult deploymentResult)
-
setTemplateRenderer
public void setTemplateRenderer(TemplateRenderer templateRenderer)
-
setTriggerManager
public void setTriggerManager(TriggerManager triggerManager)
-
setDeploymentProjectService
public void setDeploymentProjectService(DeploymentProjectService deploymentProjectService)
-
setDeploymentResultService
public void setDeploymentResultService(DeploymentResultService deploymentResultService)
-
setDeploymentVersionLinkedJiraIssuesService
public void setDeploymentVersionLinkedJiraIssuesService(DeploymentVersionLinkedJiraIssuesService deploymentVersionLinkedJiraIssuesService)
-
setDeploymentVersionVcsChangesetService
public void setDeploymentVersionVcsChangesetService(DeploymentVersionVcsChangesetService deploymentVersionVcsChangesetService)
-
setDeploymentVersionService
public void setDeploymentVersionService(DeploymentVersionService deploymentVersionService)
-
-