Package | Description |
---|---|
com.atlassian.bamboo.build | |
com.atlassian.bamboo.chains | |
com.atlassian.bamboo.plan | |
com.atlassian.bamboo.v2.trigger |
Modifier and Type | Method and Description |
---|---|
@Nullable PlanExecutionConfig |
UserInitiatedBuildDetectionAction.getPlanExecutionConfig()
Controls how plan execution would be resumed
If null, normal plan execution would be performed (new build starting on first stage)
|
Modifier and Type | Method and Description |
---|---|
@NotNull BuildDetectionAction |
BuildDetectionActionFactoryImpl.createBuildDetectionActionForPluginBuildTrigger(@NotNull ImmutableChain chain,
@Nullable PlanExecutionConfig planExecutionConfig,
@NotNull TriggerReason triggerReason,
@NotNull PlanTrigger buildTrigger,
@NotNull Map<String,String> params,
@NotNull Map<String,String> variables) |
@NotNull BuildDetectionAction |
BuildDetectionActionFactory.createBuildDetectionActionForPluginBuildTrigger(@NotNull ImmutableChain chain,
@Nullable PlanExecutionConfig planExecutionConfig,
@NotNull TriggerReason triggerReason,
@NotNull PlanTrigger buildTrigger,
@NotNull Map<String,String> params,
@NotNull Map<String,String> variables)
|
@NotNull BuildDetectionAction |
BuildDetectionActionFactoryImpl.createManualBuildDetectionAction(@NotNull ImmutableChain chain,
@NotNull com.atlassian.user.User user,
@Nullable PlanExecutionConfig planExecutionConfig,
@NotNull Map<String,String> params,
@NotNull Map<String,String> variables) |
@NotNull BuildDetectionAction |
BuildDetectionActionFactory.createManualBuildDetectionAction(@NotNull ImmutableChain chain,
@NotNull com.atlassian.user.User user,
@Nullable PlanExecutionConfig planExecutionConfig,
@NotNull Map<String,String> params,
@NotNull Map<String,String> variables)
Creates a new instance of
BuildDetectionAction that can be used to start the manual execution of Plan when manual stage is meant to continue build or build is restarted |
@NotNull BuildDetectionAction |
BuildDetectionActionFactoryImpl.createManualBuildDetectionAction(@NotNull ImmutableChain chain,
@NotNull com.atlassian.user.User user,
@Nullable PlanExecutionConfig planExecutionConfig,
@Nullable TriggerReason triggerReason,
@Nullable PlanTrigger planTrigger,
@NotNull Map<String,String> params,
@NotNull Map<String,String> variables) |
@NotNull BuildDetectionAction |
BuildDetectionActionFactoryImpl.createManualBuildDetectionAction(@NotNull ImmutableChain chain,
@NotNull com.atlassian.user.User user,
@NotNull TriggerReason triggerReason,
@Nullable PlanTrigger planTrigger,
@Nullable PlanExecutionConfig planExecutionConfig,
@NotNull Map<String,String> params,
@NotNull Map<String,String> variables) |
@NotNull BuildDetectionAction |
BuildDetectionActionFactory.createManualBuildDetectionAction(@NotNull ImmutableChain chain,
@NotNull com.atlassian.user.User user,
@NotNull TriggerReason triggerReason,
@Nullable PlanTrigger planTrigger,
@Nullable PlanExecutionConfig planExecutionConfig,
@NotNull Map<String,String> params,
@NotNull Map<String,String> variables)
Creates a new instance of
BuildDetectionAction that can be used to start the manual execution of Plan when manual stage is meant to continue build or build is restarted |
Modifier and Type | Method and Description |
---|---|
boolean |
BuildContextFactoryImpl.canRestartOrContinueBuild(@NotNull ImmutableChain chain,
@NotNull ChainResultsSummary chainResultsSummary,
@NotNull PlanExecutionConfig planExecutionConfig) |
boolean |
BuildContextFactory.canRestartOrContinueBuild(@NotNull ImmutableChain chain,
@NotNull ChainResultsSummary chainResultsSummary,
@NotNull PlanExecutionConfig planExecutionConfig)
Checks if build can be continued from a manual stage or restarted, that is, if there are any stages to be run
and if all the jobs in those stages still exist.
|
@NotNull ChainState |
ChainStateFactoryImpl.create(@NotNull PlanIdentifier chain,
@Nullable PlanExecutionConfig planExecutionConfig,
@NotNull BuildContext chainBuildContext,
@NotNull ChainStateResult chainResultState) |
@NotNull ChainState |
ChainStateFactory.create(@NotNull PlanIdentifier chain,
@Nullable PlanExecutionConfig planExecutionConfig,
@NotNull BuildContext chainBuildContext,
@NotNull ChainStateResult chainResultState)
Creates a {link ChainState} for extended execution config defined as
PlanExecutionConfig - continuable and restartable builds |
@NotNull Map<ImmutableChainStage,Map<ImmutableJob,BuildContext>> |
BuildContextFactoryImpl.createBuildContextsForJobs(@NotNull ImmutableChain chain,
@NotNull ChainResultsSummary chainResultsSummary,
@NotNull BuildContext parentBuildContext,
@NotNull PlanExecutionConfig planExecutionConfig) |
@NotNull Map<ImmutableChainStage,Map<ImmutableJob,BuildContext>> |
BuildContextFactory.createBuildContextsForJobs(@NotNull ImmutableChain chain,
@Nullable ChainResultsSummary chainResultsSummary,
@NotNull BuildContext parentBuildContext,
@NotNull PlanExecutionConfig planExecutionConfig)
|
@NotNull Collection<BuildContext> |
BuildContextFactoryImpl.createBuildContextsForRestartedOrContinuedBuild(@NotNull ImmutableChain chain,
@NotNull ChainResultsSummary chainResultsSummary,
@NotNull BuildContext parentBuildContext,
@NotNull PlanExecutionConfig planExecutionConfig) |
@NotNull Collection<BuildContext> |
BuildContextFactory.createBuildContextsForRestartedOrContinuedBuild(@NotNull ImmutableChain chain,
@NotNull ChainResultsSummary chainResultsSummary,
@NotNull BuildContext parentBuildContext,
@NotNull PlanExecutionConfig planExecutionConfig)
Creates a
BuildContext for each not built or failed Job in the Chain that was partially executed or is restarted
for example with "continue manual stage" action, or "re-run failed jobs" action, etc |
@NotNull ChainStateResult |
ChainResultManagerImpl.createStateForRerunBuild(@NotNull BuildContext chainBuildContext,
@NotNull Map<ImmutableChainStage,Map<ImmutableJob,BuildContext>> jobBuildContexts,
PlanExecutionConfig planExecutionConfig,
@NotNull Map<PlanResultKey,ChainResultManager.JobResultInfoForRerun> jobResultInfoForRerunMap) |
@NotNull ChainStateResult |
ChainResultManager.createStateForRerunBuild(@NotNull BuildContext chainBuildContext,
@NotNull Map<ImmutableChainStage,Map<ImmutableJob,BuildContext>> jobBuildContexts,
PlanExecutionConfig planExecutionConfig,
@NotNull Map<PlanResultKey,ChainResultManager.JobResultInfoForRerun> jobRestartInfo)
Creates a
ChainState as well stage and job results for build already executed and being rerun. |
@NotNull ChainStateResult |
ChainResultManagerImpl.updateForContinuedBuild(@NotNull BuildContext chainBuildContext,
@NotNull Collection<BuildContext> jobBuildContexts,
@NotNull PlanExecutionConfig planExecutionConfig) |
@NotNull ChainStateResult |
ChainResultManager.updateForContinuedBuild(@NotNull BuildContext chainBuildContext,
@NotNull Collection<BuildContext> jobBuildContexts,
@NotNull PlanExecutionConfig planExecutionConfig)
Creates a
ChainState for build already executed and stopped on manual stage of failed |
@NotNull ChainStateResult |
ChainResultManagerImpl.updateForRerunBuild(@NotNull BuildContext chainBuildContext,
@NotNull Map<ImmutableChainStage,Map<ImmutableJob,BuildContext>> jobBuildContexts,
@NotNull PlanExecutionConfig planExecutionConfig) |
@NotNull ChainStateResult |
ChainResultManager.updateForRerunBuild(@NotNull BuildContext chainBuildContext,
@NotNull Map<ImmutableChainStage,Map<ImmutableJob,BuildContext>> jobBuildContexts,
PlanExecutionConfig planExecutionConfig)
Deprecated.
since 9.0 use
ChainResultManager.cleanForRerunBuild(BuildContext) followed by #createStateForRerunBuild(BuildContext, Map, PlanExecutionConfig) |
Modifier and Type | Class and Description |
---|---|
class |
PlanExecutionConfigImpl |
Modifier and Type | Method and Description |
---|---|
@NotNull PlanExecutionConfig |
PlanExecutionConfigImpl.build() |
@NotNull PlanExecutionConfig |
PlanExecutionConfig.build() |
PlanExecutionConfig |
PlanExecutionConfigImpl.setChain(ImmutableChain chain) |
PlanExecutionConfig |
PlanExecutionConfig.setChain(ImmutableChain chain) |
PlanExecutionConfig |
PlanExecutionConfigImpl.setChainResultSummary(ChainResultsSummary chainResultsSummary) |
PlanExecutionConfig |
PlanExecutionConfig.setChainResultSummary(ChainResultsSummary chainResultsSummary) |
PlanExecutionConfig |
PlanExecutionConfigImpl.setExecuteAllStages() |
PlanExecutionConfig |
PlanExecutionConfig.setExecuteAllStages() |
PlanExecutionConfig |
PlanExecutionConfigImpl.setLatestManualStageForAutomaticExecution(@Nullable String latestManualStageForAutomaticExecution) |
PlanExecutionConfig |
PlanExecutionConfig.setLatestManualStageForAutomaticExecution(@Nullable String latestManualStageForAutomaticExecution) |
PlanExecutionConfig |
PlanExecutionConfigImpl.setVerboseLogging(boolean verboseMode) |
PlanExecutionConfig |
PlanExecutionConfig.setVerboseLogging(boolean verboseMode) |
Modifier and Type | Method and Description |
---|---|
@NotNull ExecutionRequestResult |
DelegatingPlanExecutionManager.start(@NotNull ImmutableChain chain,
@Nullable PlanExecutionConfig planExecutionConfig,
@NotNull String triggerReasonPluginKey,
@NotNull String planTriggerPluginKey,
@NotNull Map<String,String> params,
@NotNull Map<String,String> variables,
@NotNull AcquisitionPolicy acquisitionPolicy) |
@NotNull ExecutionRequestResult |
PlanExecutionManagerImpl.start(@NotNull ImmutableChain chain,
@Nullable PlanExecutionConfig planExecutionConfig,
@NotNull String triggerReasonPluginKey,
@NotNull String planTriggerPluginKey,
@NotNull Map<String,String> params,
@NotNull Map<String,String> variables,
@NotNull AcquisitionPolicy acquisitionPolicy) |
@NotNull ExecutionRequestResult |
PlanExecutionManager.start(@NotNull ImmutableChain chain,
@Nullable PlanExecutionConfig planExecutionConfig,
@NotNull String triggerReasonPluginKey,
@NotNull String planTriggerPluginKey,
@NotNull Map<String,String> params,
@NotNull Map<String,String> variables,
@NotNull AcquisitionPolicy acquisitionPolicy)
|
@NotNull ExecutionRequestResult |
DelegatingPlanExecutionManager.startManualExecution(@NotNull ImmutableChain chain,
PlanExecutionConfig planExecutionConfig,
@NotNull com.atlassian.user.User user,
@NotNull Map<String,String> params,
@NotNull Map<String,String> variables) |
@NotNull ExecutionRequestResult |
PlanExecutionManagerImpl.startManualExecution(@NotNull ImmutableChain chain,
@Nullable PlanExecutionConfig planExecutionConfig,
@NotNull com.atlassian.user.User user,
@NotNull Map<String,String> params,
@NotNull Map<String,String> variables) |
@NotNull ExecutionRequestResult |
PlanExecutionManager.startManualExecution(@NotNull ImmutableChain chain,
PlanExecutionConfig planExecutionConfig,
@NotNull com.atlassian.user.User user,
@NotNull Map<String,String> params,
@NotNull Map<String,String> variables)
Attempts to start a manual execution of a given
Plan controlled by PlanExecutionConfig
PlanExecutionConfig allows to control manual stages execution as well as enforcing execution of manual stages |
@NotNull ExecutionRequestResult |
DelegatingPlanExecutionManager.startManualExecution(@NotNull ImmutableChain chain,
PlanExecutionConfig planExecutionConfig,
@NotNull com.atlassian.user.User user,
@NotNull String triggerReasonPluginKey,
@NotNull String planTriggerPluginKey,
@NotNull Map<String,String> params,
@NotNull Map<String,String> variables) |
@NotNull ExecutionRequestResult |
PlanExecutionManagerImpl.startManualExecution(@NotNull ImmutableChain chain,
@Nullable PlanExecutionConfig planExecutionConfig,
@NotNull com.atlassian.user.User user,
@NotNull String triggerReasonPluginKey,
@Nullable String planTriggerPluginKey,
@NotNull Map<String,String> params,
@NotNull Map<String,String> variables) |
@NotNull ExecutionRequestResult |
PlanExecutionManager.startManualExecution(@NotNull ImmutableChain chain,
PlanExecutionConfig planExecutionConfig,
@NotNull com.atlassian.user.User user,
@NotNull String triggerReasonPluginKey,
@NotNull String planTriggerPluginKey,
@NotNull Map<String,String> params,
@NotNull Map<String,String> variables)
Attempts to start a manual execution of a given
Plan controlled by PlanExecutionConfig
PlanExecutionConfig allows to control manual stages execution as well as enforcing execution of manual stages |
Modifier and Type | Method and Description |
---|---|
PlanExecutionConfig |
PluginTriggerBuildDetectionAction.getPlanExecutionConfig() |
PlanExecutionConfig |
ContinuedBuildDetectionAction.getPlanExecutionConfig() |
@Nullable PlanExecutionConfig |
ManualBuildDetectionAction.getPlanExecutionConfig() |
Constructor and Description |
---|
ContinuedBuildDetectionAction(ImmutableChain chain,
@NotNull PlanExecutionConfig planExecutionConfig,
com.atlassian.user.User user,
TriggerReason triggerReason,
Map<String,String> params,
Map<String,String> variables,
ErrorUpdateHandler errorUpdateHandler,
ResultsSummaryManager resultsSummaryManager,
TriggerManager triggerManager,
BranchIntegrationService branchIntegrationService,
BuildContextBuilderFactory buildContextBuilderFactory,
ResultsSummaryVariableAccessor resultsSummaryVariableAccessor,
VcsRepositoryManager vcsRepositoryManager) |
ManualBuildDetectionAction(ImmutableChain chain,
com.atlassian.user.User user,
@Nullable PlanExecutionConfig planExecutionConfig,
Map<String,String> params,
Map<String,String> variables,
BuildNumberGeneratorService buildNumberGenerator,
ChangeDetectionManager changeDetectionManager,
TriggerManager triggerManager,
ErrorUpdateHandler errorUpdateHandler,
VariableDefinitionManager variableDefinitionManager,
BuildContextBuilderFactory buildContextBuilderFactory) |
PluginTriggerBuildDetectionAction(@NotNull PlanVcsRevisionHistoryService planVcsRevisionHistoryService,
@NotNull BuildNumberGeneratorService buildNumberGenerator,
@NotNull VariableDefinitionManager variableDefinitionManager,
@NotNull BuildContextBuilderFactory buildContextBuilderFactory,
@NotNull ImmutableChain chain,
@Nullable PlanExecutionConfig planExecutionConfig,
@NotNull TriggerReason triggerReason,
@NotNull PlanTrigger buildTrigger,
@NotNull Map<String,String> params,
@NotNull Map<String,String> variables) |
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.