Package com.atlassian.bamboo.chains
Interface ChainPluginSupport
@Internal
public interface ChainPluginSupport
Support methods for
ChainExecutionManager BambooPluginModule executions-
Method Summary
Modifier and TypeMethodDescriptionvoidbuildCompleted(@NotNull BuildExecution buildExecution) Executes the enabledPostJobActions forBuildExecutionvoidbuildStarted(@NotNull StageExecution stageExecution, @NotNull BuildContext buildContext) Executes the enabledPreJobActions forBuildContextvoidchainCompleted(@NotNull ChainExecution chainExecution, @NotNull BuildContext buildContext) Executes the enabledPostChainActions forChainExecutionvoidchainStarted(@NotNull ChainExecution chainExecution, @NotNull BuildContext buildContext) Executes the enabledPreChainActions forChainExecutionvoidfailedStageRestarted(@NotNull StageExecution stageExecution, @NotNull BuildContext buildContext) Executes the enabledRestartFailedStageActions forStageExecutionvoidmanualStageResumed(@NotNull StageExecution stageExecution, @NotNull BuildContext buildContext) Executes the enabledResumeManualStageActions forStageExecutionbooleanshouldStopExecution(@NotNull ImmutableChain chain, @NotNull Map<String, String> triggerConditionsConfiguration) Determine from plugins whether the chain should continue executing or not.voidstageCompleted(@NotNull StageExecution stageExecution, long stageResultId, @NotNull BuildContext buildContext) Executes the enabledPostStageActions forStageExecutionvoidstageStarted(@NotNull StageExecution stageExecution, @NotNull BuildContext buildContext) Executes the enabledPreStageActions forStageExecutionvoidstoppedOnManualStage(@NotNull StageExecution stageExecution, long stageResultId, @NotNull BuildContext buildContext) Executes the enabledStopOnManualStageActions forStageExecution
-
Method Details
-
chainStarted
void chainStarted(@NotNull @NotNull ChainExecution chainExecution, @NotNull @NotNull BuildContext buildContext) Executes the enabledPreChainActions forChainExecution- Parameters:
chainExecution-buildContext-
-
chainCompleted
void chainCompleted(@NotNull @NotNull ChainExecution chainExecution, @NotNull @NotNull BuildContext buildContext) Executes the enabledPostChainActions forChainExecution- Parameters:
chainExecution-buildContext-
-
stageStarted
void stageStarted(@NotNull @NotNull StageExecution stageExecution, @NotNull @NotNull BuildContext buildContext) Executes the enabledPreStageActions forStageExecution- Parameters:
stageExecution-buildContext-
-
stageCompleted
void stageCompleted(@NotNull @NotNull StageExecution stageExecution, long stageResultId, @NotNull @NotNull BuildContext buildContext) Executes the enabledPostStageActions forStageExecution- Parameters:
stageExecution-stageResultId-buildContext-
-
manualStageResumed
void manualStageResumed(@NotNull @NotNull StageExecution stageExecution, @NotNull @NotNull BuildContext buildContext) Executes the enabledResumeManualStageActions forStageExecution- Parameters:
stageExecution-buildContext-
-
failedStageRestarted
void failedStageRestarted(@NotNull @NotNull StageExecution stageExecution, @NotNull @NotNull BuildContext buildContext) Executes the enabledRestartFailedStageActions forStageExecution- Parameters:
stageExecution-buildContext-
-
stoppedOnManualStage
void stoppedOnManualStage(@NotNull @NotNull StageExecution stageExecution, long stageResultId, @NotNull @NotNull BuildContext buildContext) Executes the enabledStopOnManualStageActions forStageExecution- Parameters:
stageExecution-stageResultId-buildContext-
-
buildStarted
void buildStarted(@NotNull @NotNull StageExecution stageExecution, @NotNull @NotNull BuildContext buildContext) Executes the enabledPreJobActions forBuildContext- Parameters:
stageExecution-buildContext-
-
buildCompleted
Executes the enabledPostJobActions forBuildExecution- Parameters:
buildExecution-
-
shouldStopExecution
boolean shouldStopExecution(@NotNull @NotNull ImmutableChain chain, @NotNull @NotNull Map<String, String> triggerConditionsConfiguration) Determine from plugins whether the chain should continue executing or not.- Parameters:
chain-triggerConditionsConfiguration-- Returns:
- true if execution should be stopped, false if it should continue.
-