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
ConstructorDescriptionVersionCreatedIssuePublisher
(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
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
-
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 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
-
handleDeploymentVersionCreatedEvent
-