Class DeploymentStartedNotification
java.lang.Object
com.atlassian.bamboo.notification.AbstractNotification
com.atlassian.bamboo.deployments.notification.DeploymentStartedNotification
- All Implemented Interfaces:
DeploymentResultAwareNotification,Notification,Notification.HtmlImContentProvidingNotification
public class DeploymentStartedNotification
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 -
Method Summary
Modifier and TypeMethodDescription@NotNull StringText 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 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
-
Constructor Details
-
DeploymentStartedNotification
public DeploymentStartedNotification()
-
-
Method Details
-
getDescription
Description copied from interface:NotificationText describing this notification object - used for logging/debugging purposes.- Specified by:
getDescriptionin interfaceNotification- Returns:
- Notification's description
-
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
- Throws:
Exception- if there is a problem preventing production of the e-mail content.
-
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
- Throws:
Exception- if there is a problem preventing production of the e-mail content.
-
getEmailSubject
Description copied from interface:NotificationRetrieves the subject for the notification.- Specified by:
getEmailSubjectin interfaceNotification- Returns:
- Email subject for this notification
- Throws:
Exception- if there is a problem preventing production of the e-mail subject.
-
getIMContent
Description copied from interface:NotificationRetrieves the content for the IM notification- Specified by:
getIMContentin interfaceNotification- Returns:
- IM message content for this notification
-
getHtmlImContent
- Specified by:
getHtmlImContentin interfaceNotification.HtmlImContentProvidingNotification- Overrides:
getHtmlImContentin classAbstractNotification
-
getDeploymentResult
- Specified by:
getDeploymentResultin interfaceDeploymentResultAwareNotification
-
getContext
-
setDeploymentResult
-
setTemplateRenderer
-
setTriggerManager
-
setDeploymentProjectService
-
setDeploymentResultService
-
setDeploymentVersionVcsChangesetService
public void setDeploymentVersionVcsChangesetService(DeploymentVersionVcsChangesetService deploymentVersionVcsChangesetService) -
setDeploymentVersionLinkedJiraIssuesService
public void setDeploymentVersionLinkedJiraIssuesService(DeploymentVersionLinkedJiraIssuesService deploymentVersionLinkedJiraIssuesService) -
setDeploymentVersionService
-