Class DeploymentCompletedIssuePublisher
java.lang.Object
com.atlassian.bamboo.plugins.jira.event.DeploymentCompletedIssuePublisher
- All Implemented Interfaces:
com.atlassian.event.remote.RemoteEventProducer
,org.springframework.beans.factory.DisposableBean
,org.springframework.beans.factory.InitializingBean
public class DeploymentCompletedIssuePublisher
extends Object
implements com.atlassian.event.remote.RemoteEventProducer, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
Listens on internal events. If it detects event that has possibly changed JIRA issue it will publish new event
that is then possibly redistributed outside Bamboo
-
Constructor Summary
ConstructorDescriptionDeploymentCompletedIssuePublisher
(com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.event.remote.RemoteEventProducerRegistrar remoteEventProducerRegistrar, DeploymentResultService deploymentResultService, DeploymentProjectService deploymentProjectService, DeploymentVersionLinkedJiraIssuesService deploymentVersionLinkedJiraIssuesService, AdministrationConfigurationAccessor administrationConfigurationAccessor) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
destroy()
void
onDeploymentResultIndexed
(@NotNull DeploymentFinishedEvent event) produces()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.event.remote.RemoteEventProducer
getApplinkFilter
-
Constructor Details
-
DeploymentCompletedIssuePublisher
@Autowired public DeploymentCompletedIssuePublisher(com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.event.remote.RemoteEventProducerRegistrar remoteEventProducerRegistrar, DeploymentResultService deploymentResultService, DeploymentProjectService deploymentProjectService, DeploymentVersionLinkedJiraIssuesService deploymentVersionLinkedJiraIssuesService, AdministrationConfigurationAccessor administrationConfigurationAccessor)
-
-
Method Details
-
afterPropertiesSet
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
Exception
-
destroy
- Specified by:
destroy
in interfaceorg.springframework.beans.factory.DisposableBean
- Throws:
Exception
-
produces
- Specified by:
produces
in interfacecom.atlassian.event.remote.RemoteEventProducer
-
onDeploymentResultIndexed
@EventListener public void onDeploymentResultIndexed(@NotNull @NotNull DeploymentFinishedEvent event)
-