Class BuildCompletedIssuePublisher

java.lang.Object
com.atlassian.bamboo.plugins.jira.event.BuildCompletedIssuePublisher
All Implemented Interfaces:
com.atlassian.event.remote.RemoteEventProducer, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean

public class BuildCompletedIssuePublisher 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 a build completed event that impacts a JIRA issue, it will publish a corresponding remote event.
  • Constructor Details

    • BuildCompletedIssuePublisher

      @Autowired public BuildCompletedIssuePublisher(AdministrationConfigurationAccessor administrationConfigurationAccessor, com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.event.remote.RemoteEventProducerRegistrar remoteEventProducerRegistrar, ResultsSummaryManager resultsSummaryManager)
  • 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
    • handleChainCompletedEvent

      @EventListener public void handleChainCompletedEvent(ChainCompletedEvent event)