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
-
Method Summary
Modifier and TypeMethodDescription@NotNull DeploymentResult
@NotNull String
Text describing this notification object - used for logging/debugging purposes.Retrieves the subject for the notification.Generates the html for the html part of an email notification.Retrieves the content for the IM notificationGenerates the text email content for the notificationsvoid
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) Methods inherited from class com.atlassian.bamboo.notification.AbstractNotification
addRecipient, applyDefaultCssStyles, excludeRecipient, getCommitUrl, getEvent, getExcludedNotificationRecipients, getNotificationRecipients, getPojoEvent, getRepositoryData, getRepositoryData, setEvent, setEvent, setExcludedNotificationRecipients, setNotificationRecipients
-
Constructor Details
-
DeploymentFinishedNotification
public DeploymentFinishedNotification()
-
-
Method Details
-
getDescription
Description copied from interface:Notification
Text describing this notification object - used for logging/debugging purposes.- Specified by:
getDescription
in interfaceNotification
- Returns:
- Notification's description
-
getTextEmailContent
Description copied from interface:Notification
Generates the text email content for the notifications- Specified by:
getTextEmailContent
in interfaceNotification
- Returns:
- Email content formatted as text for this notification
-
getHtmlEmailContent
Description copied from interface:Notification
Generates the html for the html part of an email notification.- Specified by:
getHtmlEmailContent
in interfaceNotification
- Returns:
- Email content formatted as HTML for this notification
-
getEmailSubject
Description copied from interface:Notification
Retrieves the subject for the notification.- Specified by:
getEmailSubject
in interfaceNotification
- Returns:
- Email subject for this notification
-
getIMContent
Description copied from interface:Notification
Retrieves the content for the IM notification- Specified by:
getIMContent
in interfaceNotification
- Returns:
- IM message content for this notification
-
getHtmlImContent
- Specified by:
getHtmlImContent
in interfaceNotification.HtmlImContentProvidingNotification
- Overrides:
getHtmlImContent
in classAbstractNotification
-
getContext
-
getDeploymentResult
- Specified by:
getDeploymentResult
in interfaceDeploymentResultAwareNotification
-
setDeploymentResult
-
setTemplateRenderer
-
setTriggerManager
-
setDeploymentProjectService
-
setDeploymentResultService
-
setDeploymentVersionLinkedJiraIssuesService
public void setDeploymentVersionLinkedJiraIssuesService(DeploymentVersionLinkedJiraIssuesService deploymentVersionLinkedJiraIssuesService) -
setDeploymentVersionVcsChangesetService
public void setDeploymentVersionVcsChangesetService(DeploymentVersionVcsChangesetService deploymentVersionVcsChangesetService) -
setDeploymentVersionService
-