Class DeploymentCompletedIssuePublisher

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

public class DeploymentCompletedIssuePublisher 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
    • onDeploymentResultIndexed

      @EventListener public void onDeploymentResultIndexed(@NotNull @NotNull DeploymentFinishedEvent event)