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 Details

  • Method Details

    • 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
    • handleDeploymentVersionCreatedEvent

      @EventListener public void handleDeploymentVersionCreatedEvent(DeploymentVersionCreatedEvent event)