com.atlassian.bamboo.plugins.jira.event
Class DeploymentIssueChangedPublisher
java.lang.Object
com.atlassian.bamboo.plugins.jira.event.DeploymentIssueChangedPublisher
- All Implemented Interfaces:
- com.atlassian.event.remote.RemoteEventProducer, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean
public class DeploymentIssueChangedPublisher
- extends Object
- implements com.atlassian.event.remote.RemoteEventProducer, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
Listens on internal events sent by deployment indexer module.
If it detects event that has possibly changed JIRA issue it will publish new event
that is then possibly redistributed outside Bamboo
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeploymentIssueChangedPublisher
public DeploymentIssueChangedPublisher(com.atlassian.event.api.EventPublisher eventPublisher,
DeploymentVersionLinkedJiraIssuesService issuesService,
com.atlassian.event.remote.RemoteEventProducerRegistrar remoteEventProducerRegistrar)
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
- Throws:
Exception
destroy
public void destroy()
throws Exception
- Specified by:
destroy
in interface org.springframework.beans.factory.DisposableBean
- Throws:
Exception
produces
public Iterable<Class<? extends com.atlassian.event.remote.RemoteEvent>> produces()
- Specified by:
produces
in interface com.atlassian.event.remote.RemoteEventProducer
handleDeploymentResultDeindexedEvent
@EventListener
public void handleDeploymentResultDeindexedEvent(DeploymentResultDeindexedEvent event)
handleDeploymentVersionCreationIndexedEvent
@EventListener
public void handleDeploymentVersionCreationIndexedEvent(DeploymentVersionCreationIndexedEvent event)
handleDeploymentResultIndexedEvent
@EventListener
public void handleDeploymentResultIndexedEvent(DeploymentResultIndexedEvent event)
handleDeploymentVersionDeindexedEvent
@EventListener
public void handleDeploymentVersionDeindexedEvent(DeploymentVersionDeindexedEvent event)
handleEnvironmentDeindexedEvent
@EventListener
public void handleEnvironmentDeindexedEvent(EnvironmentDeindexedEvent event)
handleEnvironmentOrderUpdateIndexedEvent
@EventListener
public void handleEnvironmentOrderUpdateIndexedEvent(EnvironmentOrderUpdateIndexedEvent event)
handleDeploymentProjectDeindexedEvent
@EventListener
public void handleDeploymentProjectDeindexedEvent(DeploymentProjectDeindexedEvent event)
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.