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
ConstructorsConstructorDescriptionDeploymentCompletedIssuePublisher(com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.event.remote.RemoteEventProducerRegistrar remoteEventProducerRegistrar, DeploymentResultService deploymentResultService, DeploymentProjectService deploymentProjectService, DeploymentVersionLinkedJiraIssuesService deploymentVersionLinkedJiraIssuesService, AdministrationConfigurationAccessor administrationConfigurationAccessor) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddestroy()voidonDeploymentResultIndexed(@NotNull DeploymentFinishedEvent event) produces()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
destroy
- Specified by:
destroyin interfaceorg.springframework.beans.factory.DisposableBean- Throws:
Exception
-
produces
- Specified by:
producesin interfacecom.atlassian.event.remote.RemoteEventProducer
-
onDeploymentResultIndexed
@EventListener public void onDeploymentResultIndexed(@NotNull @NotNull DeploymentFinishedEvent event)
-