Class DefaultStopBuildManager

java.lang.Object
com.atlassian.bamboo.build.DefaultStopBuildManager
All Implemented Interfaces:
StopBuildManager

public class DefaultStopBuildManager extends Object implements StopBuildManager
  • Constructor Details

    • DefaultStopBuildManager

      public DefaultStopBuildManager()
  • Method Details

    • cancelAllBuilds

      public void cancelAllBuilds(@NotNull @NotNull PlanKey planKey, boolean abandonResult)
      Description copied from interface: StopBuildManager
      Will stop all builds running for plan identified by PlanKey
      Specified by:
      cancelAllBuilds in interface StopBuildManager
    • cancelBuild

      public void cancelBuild(@NotNull @NotNull PlanResultKey planResultKey, boolean abandonResult)
      Description copied from interface: StopBuildManager
      Cancel a running build optionally abandoning the result
      Specified by:
      cancelBuild in interface StopBuildManager
    • onVerifyAgentBuildingStatus

      @EventListener public void onVerifyAgentBuildingStatus(@NotNull @NotNull VerifyAgentBuildingStatusEvent event)
    • onCancelCurrentBuildEvent

      @EventListener public void onCancelCurrentBuildEvent(@NotNull @NotNull CancelCurrentBuildEvent event)
    • cancelDeployment

      public void cancelDeployment(@NotNull @NotNull ResultKey resultKey, @NotNull @NotNull Long deploymentResultId, @Nullable @Nullable Long agentId)
      Description copied from interface: StopBuildManager
      Cancel a running deployment
      Specified by:
      cancelDeployment in interface StopBuildManager
    • stopAgentNicely

      public void stopAgentNicely(@NotNull @NotNull BuildAgent buildAgent)
      Description copied from interface: StopBuildManager
      Will tell an agent to stop after it's finished the current build
      Specified by:
      stopAgentNicely in interface StopBuildManager
    • setBuildQueueManager

      public void setBuildQueueManager(BuildQueueManager buildQueueManager)
    • setAgentCommandSender

      public void setAgentCommandSender(AgentCommandSender agentCommandSender)
    • setEventPublisher

      public void setEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher)
    • setPlanExecutionManager

      public void setPlanExecutionManager(PlanExecutionManager planExecutionManager)
    • setScheduler

      public void setScheduler(org.quartz.Scheduler scheduler)
    • setBuildLoggerManager

      public void setBuildLoggerManager(BuildLoggerManager buildLoggerManager)
    • setAuthenticationContext

      public void setAuthenticationContext(BambooAuthenticationContext authenticationContext)