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 |
---|---|
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 |
BuildDetectionActionFactoryImpl.createBuildDetectionActionForPluginBuildTrigger(ImmutableChain chain,
PlanExecutionConfig planExecutionConfig,
TriggerReason triggerReason,
PlanTrigger buildTrigger,
Map<String,String> params,
Map<String,String> variables) |
BuildDetectionAction |
BuildDetectionActionFactory.createBuildDetectionActionForPluginBuildTrigger(ImmutableChain chain,
PlanExecutionConfig planExecutionConfig,
TriggerReason triggerReason,
PlanTrigger buildTrigger,
Map<String,String> params,
Map<String,String> variables)
|
BuildDetectionAction |
BuildDetectionActionFactoryImpl.createManualBuildDetectionAction(ImmutableChain chain,
com.atlassian.user.User user,
PlanExecutionConfig planExecutionConfig,
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 |
BuildDetectionActionFactoryImpl.createManualBuildDetectionAction(ImmutableChain chain,
com.atlassian.user.User user,
PlanExecutionConfig planExecutionConfig,
TriggerReason triggerReason,
PlanTrigger planTrigger,
Map<String,String> params,
Map<String,String> variables) |
BuildDetectionAction |
BuildDetectionActionFactoryImpl.createManualBuildDetectionAction(ImmutableChain chain,
com.atlassian.user.User user,
TriggerReason triggerReason,
PlanTrigger planTrigger,
PlanExecutionConfig planExecutionConfig,
Map<String,String> params,
Map<String,String> variables) |
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 |
---|---|
boolean |
BuildContextFactoryImpl.canRestartOrContinueBuild(ImmutableChain chain,
ChainResultsSummary chainResultsSummary,
PlanExecutionConfig planExecutionConfig) |
boolean |
BuildContextFactory.canRestartOrContinueBuild(ImmutableChain chain,
ChainResultsSummary chainResultsSummary,
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.
|
ChainState |
ChainStateFactoryImpl.create(PlanIdentifier chain,
PlanExecutionConfig planExecutionConfig,
BuildContext chainBuildContext,
ChainStateResult chainResultState) |
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 |
Map<ImmutableChainStage,Map<ImmutableJob,BuildContext>> |
BuildContextFactoryImpl.createBuildContextsForJobs(ImmutableChain chain,
ChainResultsSummary chainResultsSummary,
BuildContext parentBuildContext,
PlanExecutionConfig planExecutionConfig) |
Map<ImmutableChainStage,Map<ImmutableJob,BuildContext>> |
BuildContextFactory.createBuildContextsForJobs(ImmutableChain chain,
ChainResultsSummary chainResultsSummary,
BuildContext parentBuildContext,
PlanExecutionConfig planExecutionConfig)
|
Collection<BuildContext> |
BuildContextFactoryImpl.createBuildContextsForRestartedOrContinuedBuild(ImmutableChain chain,
ChainResultsSummary chainResultsSummary,
BuildContext parentBuildContext,
PlanExecutionConfig planExecutionConfig) |
Collection<BuildContext> |
BuildContextFactory.createBuildContextsForRestartedOrContinuedBuild(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 "continue manual stage" action, or "re-run failed jobs" action, etc |
ChainStateResult |
ChainResultManagerImpl.updateForContinuedBuild(BuildContext chainBuildContext,
Collection<BuildContext> jobBuildContexts,
PlanExecutionConfig planExecutionConfig) |
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 |
ChainResultManagerImpl.updateForRerunBuild(BuildContext chainBuildContext,
Map<ImmutableChainStage,Map<ImmutableJob,BuildContext>> jobBuildContexts,
PlanExecutionConfig planExecutionConfig) |
ChainStateResult |
ChainResultManager.updateForRerunBuild(BuildContext chainBuildContext,
Map<ImmutableChainStage,Map<ImmutableJob,BuildContext>> jobBuildContexts,
PlanExecutionConfig planExecutionConfig)
Creates a
ChainState for build already executed and being rerun. |
Modifier and Type | Class and Description |
---|---|
class |
PlanExecutionConfigImpl |
Modifier and Type | Method and Description |
---|---|
PlanExecutionConfig |
PlanExecutionConfigImpl.build() |
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(String latestManualStageForAutomaticExecution) |
PlanExecutionConfig |
PlanExecutionConfig.setLatestManualStageForAutomaticExecution(String latestManualStageForAutomaticExecution) |
Modifier and Type | Method and Description |
---|---|
ExecutionRequestResult |
DelegatingPlanExecutionManager.start(ImmutableChain chain,
PlanExecutionConfig planExecutionConfig,
String triggerReasonPluginKey,
String planTriggerPluginKey,
Map<String,String> params,
Map<String,String> variables,
AcquisitionPolicy acquisitionPolicy) |
ExecutionRequestResult |
PlanExecutionManagerImpl.start(ImmutableChain chain,
PlanExecutionConfig planExecutionConfig,
String triggerReasonPluginKey,
String planTriggerPluginKey,
Map<String,String> params,
Map<String,String> variables,
AcquisitionPolicy acquisitionPolicy) |
ExecutionRequestResult |
PlanExecutionManager.start(ImmutableChain chain,
PlanExecutionConfig planExecutionConfig,
String triggerReasonPluginKey,
String planTriggerPluginKey,
Map<String,String> params,
Map<String,String> variables,
AcquisitionPolicy acquisitionPolicy)
|
ExecutionRequestResult |
DelegatingPlanExecutionManager.startManualExecution(ImmutableChain chain,
PlanExecutionConfig planExecutionConfig,
com.atlassian.user.User user,
Map<String,String> params,
Map<String,String> variables) |
ExecutionRequestResult |
PlanExecutionManagerImpl.startManualExecution(ImmutableChain chain,
PlanExecutionConfig planExecutionConfig,
com.atlassian.user.User user,
Map<String,String> params,
Map<String,String> variables) |
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 |
DelegatingPlanExecutionManager.startManualExecution(ImmutableChain chain,
PlanExecutionConfig planExecutionConfig,
com.atlassian.user.User user,
String triggerReasonPluginKey,
String planTriggerPluginKey,
Map<String,String> params,
Map<String,String> variables) |
ExecutionRequestResult |
PlanExecutionManagerImpl.startManualExecution(ImmutableChain chain,
PlanExecutionConfig planExecutionConfig,
com.atlassian.user.User user,
String triggerReasonPluginKey,
String planTriggerPluginKey,
Map<String,String> params,
Map<String,String> variables) |
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 |
Modifier and Type | Method and Description |
---|---|
PlanExecutionConfig |
ManualBuildDetectionAction.getPlanExecutionConfig() |
PlanExecutionConfig |
PluginTriggerBuildDetectionAction.getPlanExecutionConfig() |
PlanExecutionConfig |
ContinuedBuildDetectionAction.getPlanExecutionConfig() |
Constructor and Description |
---|
ContinuedBuildDetectionAction(ImmutableChain chain,
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,
PlanExecutionConfig planExecutionConfig,
Map<String,String> params,
Map<String,String> variables,
BuildNumberGeneratorService buildNumberGenerator,
ChangeDetectionManager changeDetectionManager,
TriggerManager triggerManager,
ErrorUpdateHandler errorUpdateHandler,
VariableDefinitionManager variableDefinitionManager,
BuildContextBuilderFactory buildContextBuilderFactory) |
PluginTriggerBuildDetectionAction(PlanVcsRevisionHistoryService planVcsRevisionHistoryService,
BuildNumberGeneratorService buildNumberGenerator,
VariableDefinitionManager variableDefinitionManager,
BuildContextBuilderFactory buildContextBuilderFactory,
ImmutableChain chain,
PlanExecutionConfig planExecutionConfig,
TriggerReason triggerReason,
PlanTrigger buildTrigger,
Map<String,String> params,
Map<String,String> variables) |
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.