Class VersionCreatedIssuePublisher
- java.lang.Object
-
- com.atlassian.bamboo.plugins.jira.event.VersionCreatedIssuePublisher
-
- All Implemented Interfaces:
com.atlassian.event.remote.RemoteEventProducer
,org.springframework.beans.factory.DisposableBean
,org.springframework.beans.factory.InitializingBean
public class VersionCreatedIssuePublisher 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
Constructors Constructor Description VersionCreatedIssuePublisher(com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.event.remote.RemoteEventProducerRegistrar remoteEventProducerRegistrar, DeploymentVersionService deploymentVersionService, DeploymentProjectService deploymentProjectService, DeploymentVersionLinkedJiraIssuesService deploymentVersionLinkedJiraIssuesService, AdministrationConfigurationAccessor administrationConfigurationAccessor, BambooUserManager userManager, GravatarService gravatarService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPropertiesSet()
void
destroy()
void
handleDeploymentVersionCreatedEvent(DeploymentVersionCreatedEvent event)
Iterable<Class<? extends com.atlassian.event.remote.RemoteEvent>>
produces()
-
-
-
Constructor Detail
-
VersionCreatedIssuePublisher
@Autowired public VersionCreatedIssuePublisher(com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.event.remote.RemoteEventProducerRegistrar remoteEventProducerRegistrar, DeploymentVersionService deploymentVersionService, DeploymentProjectService deploymentProjectService, DeploymentVersionLinkedJiraIssuesService deploymentVersionLinkedJiraIssuesService, AdministrationConfigurationAccessor administrationConfigurationAccessor, BambooUserManager userManager, GravatarService gravatarService)
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet() throws Exception
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
Exception
-
destroy
public void destroy() throws Exception
- Specified by:
destroy
in interfaceorg.springframework.beans.factory.DisposableBean
- Throws:
Exception
-
produces
public Iterable<Class<? extends com.atlassian.event.remote.RemoteEvent>> produces()
- Specified by:
produces
in interfacecom.atlassian.event.remote.RemoteEventProducer
-
handleDeploymentVersionCreatedEvent
@EventListener public void handleDeploymentVersionCreatedEvent(DeploymentVersionCreatedEvent event)
-
-