com.atlassian.bamboo.chains
Interface ChainPluginSupport


public interface ChainPluginSupport

Support methods for ChainExecutionManager BambooPluginModule executions


Method Summary
 void buildCompleted(BuildExecution buildExecution)
          Executes the enabled PostJobActions for BuildExecution
 void buildStarted(StageExecution stageExecution, BuildContext buildContext)
          Executes the enabled PreJobActions for BuildContext
 void chainCompleted(ChainExecution chainExecution, BuildContext buildContext)
          Executes the enabled PostChainActions for ChainExecution
 void chainStarted(ChainExecution chainExecution, BuildContext buildContext)
          Executes the enabled PreChainActions for ChainExecution
 void failedStageRestarted(StageExecution stageExecution, BuildContext buildContext)
          Executes the enabled RestartFailedStageActions for StageExecution
 void manualStageResumed(StageExecution stageExecution, BuildContext buildContext)
          Executes the enabled ResumeManualStageActions for StageExecution
 boolean shouldStopExecution(ImmutableChain chain)
          Determine from plugins whether the chain should continue executing or not.
 void stageCompleted(StageExecution stageExecution, long stageResultId, BuildContext buildContext)
          Executes the enabled PostStageActions for StageExecution
 void stageStarted(StageExecution stageExecution, BuildContext buildContext)
          Executes the enabled PreStageActions for StageExecution
 void stoppedOnManualStage(StageExecution stageExecution, long stageResultId, BuildContext buildContext)
          Executes the enabled StopOnManualStageActions for StageExecution
 

Method Detail

chainStarted

void chainStarted(@NotNull
                  ChainExecution chainExecution,
                  @NotNull
                  BuildContext buildContext)
Executes the enabled PreChainActions for ChainExecution

Parameters:
chainExecution -
buildContext -

chainCompleted

void chainCompleted(@NotNull
                    ChainExecution chainExecution,
                    @NotNull
                    BuildContext buildContext)
Executes the enabled PostChainActions for ChainExecution

Parameters:
chainExecution -
buildContext -

stageStarted

void stageStarted(@NotNull
                  StageExecution stageExecution,
                  @NotNull
                  BuildContext buildContext)
Executes the enabled PreStageActions for StageExecution

Parameters:
stageExecution -
buildContext -

stageCompleted

void stageCompleted(@NotNull
                    StageExecution stageExecution,
                    long stageResultId,
                    @NotNull
                    BuildContext buildContext)
Executes the enabled PostStageActions for StageExecution

Parameters:
stageExecution -
stageResultId -
buildContext -

manualStageResumed

void manualStageResumed(@NotNull
                        StageExecution stageExecution,
                        @NotNull
                        BuildContext buildContext)
Executes the enabled ResumeManualStageActions for StageExecution

Parameters:
stageExecution -
buildContext -

failedStageRestarted

void failedStageRestarted(@NotNull
                          StageExecution stageExecution,
                          @NotNull
                          BuildContext buildContext)
Executes the enabled RestartFailedStageActions for StageExecution

Parameters:
stageExecution -
buildContext -

stoppedOnManualStage

void stoppedOnManualStage(@NotNull
                          StageExecution stageExecution,
                          long stageResultId,
                          @NotNull
                          BuildContext buildContext)
Executes the enabled StopOnManualStageActions for StageExecution

Parameters:
stageExecution -
stageResultId -
buildContext -

buildStarted

void buildStarted(@NotNull
                  StageExecution stageExecution,
                  @NotNull
                  BuildContext buildContext)
Executes the enabled PreJobActions for BuildContext

Parameters:
stageExecution -
buildContext -

buildCompleted

void buildCompleted(@NotNull
                    BuildExecution buildExecution)
Executes the enabled PostJobActions for BuildExecution

Parameters:
buildExecution -

shouldStopExecution

boolean shouldStopExecution(ImmutableChain chain)
Determine from plugins whether the chain should continue executing or not.

Parameters:
chain -
Returns:
true if execution should be stopped, false if it should continue.


Copyright © 2012 Atlassian. All Rights Reserved.