| Package | Description |
|---|---|
| com.atlassian.bamboo.build | |
| com.atlassian.bamboo.chains | |
| com.atlassian.bamboo.plan |
| Modifier and Type | Method and Description |
|---|---|
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 |
|---|---|
BuildDetectionAction |
BuildDetectionActionFactory.createBuildDetectionActionForPluginBuildTrigger(ImmutableChain chain,
PlanExecutionConfig planExecutionConfig,
TriggerReason triggerReason,
PlanTrigger buildTrigger,
Map<String,String> params,
Map<String,String> variables)
|
BuildDetectionAction |
BuildDetectionActionFactory.createManualBuildDetectionAction(ImmutableChain chain,
com.atlassian.user.User user,
PlanExecutionConfig planExecutionConfig,
Map<String,String> params,
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 |
BuildDetectionAction |
BuildDetectionActionFactory.createManualBuildDetectionAction(ImmutableChain chain,
com.atlassian.user.User user,
TriggerReason triggerReason,
PlanTrigger planTrigger,
PlanExecutionConfig planExecutionConfig,
Map<String,String> params,
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 |
|---|---|
ChainState |
ChainStateFactory.create(PlanIdentifier chain,
PlanExecutionConfig planExecutionConfig,
BuildContext chainBuildContext,
ChainStateResult chainResultState)
Creates a {link ChainState} for extended execution config defined as
PlanExecutionConfig - continuable and restartable builds |
Collection<BuildContext> |
BuildContextFactory.createBuildContextsForRestartedOrRerunBuild(ImmutableChain chain,
ChainResultsSummary chainResultsSummary,
BuildContext parentBuildContext,
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 "re-run this build" action or with "continue manual stage" action, or "re-run failed jobs" action, etc |
ChainStateResult |
ChainResultManager.updateForContinuedBuild(BuildContext chainBuildContext,
Collection<BuildContext> jobBuildContexts,
PlanExecutionConfig planExecutionConfig)
Creates a
ChainState for build already executed and stopped on manual stage of failed |
ChainStateResult |
ChainResultManager.updateForRerunBuild(BuildContext chainBuildContext,
Collection<BuildContext> jobBuildContexts,
PlanExecutionConfig planExecutionConfig)
Creates a
ChainState for build already executed and being rerun. |
| Modifier and Type | Method and Description |
|---|---|
PlanExecutionConfig |
PlanExecutionConfig.build() |
PlanExecutionConfig |
PlanExecutionConfig.setChain(ImmutableChain chain) |
PlanExecutionConfig |
PlanExecutionConfig.setChainResultSummary(ChainResultsSummary chainResultsSummary) |
PlanExecutionConfig |
PlanExecutionConfig.setExecuteAllStages() |
PlanExecutionConfig |
PlanExecutionConfig.setLatestManualStageForAutomaticExecution(String latestManualStageForAutomaticExecution) |
| Modifier and Type | Method and Description |
|---|---|
ExecutionRequestResult |
PlanExecutionManager.start(ImmutableChain chain,
PlanExecutionConfig planExecutionConfig,
String triggerReasonPluginKey,
String planTriggerPluginKey,
Map<String,String> params,
Map<String,String> variables,
AcquisitionPolicy acquisitionPolicy)
|
ExecutionRequestResult |
PlanExecutionManager.startManualExecution(ImmutableChain chain,
PlanExecutionConfig planExecutionConfig,
com.atlassian.user.User user,
Map<String,String> params,
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 |
ExecutionRequestResult |
PlanExecutionManager.startManualExecution(ImmutableChain chain,
PlanExecutionConfig planExecutionConfig,
com.atlassian.user.User user,
String triggerReasonPluginKey,
String planTriggerPluginKey,
Map<String,String> params,
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 |
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.