Uses of Interface
com.atlassian.bamboo.plan.PlanExecutionConfig
Package
Description
-
Uses of PlanExecutionConfig in com.atlassian.bamboo.build
Modifier and TypeMethodDescription@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 TypeMethodDescription@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.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.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 ofBuildDetectionAction
that can be used to start the manual execution ofPlan
when manual stage is meant to continue build or build is restarted@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 ofBuildDetectionAction
that can be used to start the manual execution ofPlan
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, @NotNull TriggerReason triggerReason, @Nullable PlanTrigger planTrigger, @Nullable PlanExecutionConfig planExecutionConfig, @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
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) -
Uses of PlanExecutionConfig in com.atlassian.bamboo.chains
Modifier and TypeMethodDescriptionboolean
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.boolean
BuildContextFactoryImpl.canRestartOrContinueBuild
(@NotNull ImmutableChain chain, @NotNull ChainResultsSummary chainResultsSummary, @NotNull PlanExecutionConfig planExecutionConfig) @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 asPlanExecutionConfig
- continuable and restartable builds@NotNull ChainState
ChainStateFactoryImpl.create
(@NotNull PlanIdentifier chain, @Nullable PlanExecutionConfig planExecutionConfig, @NotNull BuildContext chainBuildContext, @NotNull ChainStateResult chainResultState) @NotNull Map<ImmutableChainStage,
Map<ImmutableJob, BuildContext>> BuildContextFactory.createBuildContextsForJobs
(@NotNull ImmutableChain chain, @Nullable ChainResultsSummary chainResultsSummary, @NotNull BuildContext parentBuildContext, @NotNull PlanExecutionConfig planExecutionConfig) @NotNull Map<ImmutableChainStage,
Map<ImmutableJob, BuildContext>> BuildContextFactoryImpl.createBuildContextsForJobs
(@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 aBuildContext
for each not built or failedJob
in theChain
that was partially executed or is restarted for example with "continue manual stage" action, or "re-run failed jobs" action, etc@NotNull Collection<BuildContext>
BuildContextFactoryImpl.createBuildContextsForRestartedOrContinuedBuild
(@NotNull ImmutableChain chain, @NotNull ChainResultsSummary chainResultsSummary, @NotNull BuildContext parentBuildContext, @NotNull PlanExecutionConfig planExecutionConfig) @NotNull ChainStateResult
ChainResultManager.createStateForRerunBuild
(@NotNull BuildContext chainBuildContext, @NotNull Map<ImmutableChainStage, Map<ImmutableJob, BuildContext>> jobBuildContexts, PlanExecutionConfig planExecutionConfig, @NotNull Map<PlanResultKey, ChainResultManager.JobResultInfoForRerun> jobRestartInfo) Creates aChainState
as well stage and job results for build already executed and being rerun.@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.updateForContinuedBuild
(@NotNull BuildContext chainBuildContext, @NotNull Collection<BuildContext> jobBuildContexts, @NotNull PlanExecutionConfig planExecutionConfig) Creates aChainState
for build already executed and stopped on manual stage of failed@NotNull ChainStateResult
ChainResultManagerImpl.updateForContinuedBuild
(@NotNull BuildContext chainBuildContext, @NotNull Collection<BuildContext> jobBuildContexts, @NotNull PlanExecutionConfig planExecutionConfig) @NotNull ChainStateResult
ChainResultManager.updateForRerunBuild
(@NotNull BuildContext chainBuildContext, @NotNull Map<ImmutableChainStage, Map<ImmutableJob, BuildContext>> jobBuildContexts, PlanExecutionConfig planExecutionConfig) Deprecated.@NotNull ChainStateResult
ChainResultManagerImpl.updateForRerunBuild
(@NotNull BuildContext chainBuildContext, @NotNull Map<ImmutableChainStage, Map<ImmutableJob, BuildContext>> jobBuildContexts, @NotNull PlanExecutionConfig planExecutionConfig) -
Uses of PlanExecutionConfig in com.atlassian.bamboo.plan
Modifier and TypeMethodDescription@NotNull PlanExecutionConfig
PlanExecutionConfig.build()
@NotNull PlanExecutionConfig
PlanExecutionConfigImpl.build()
PlanExecutionConfig.setChain
(ImmutableChain chain) PlanExecutionConfigImpl.setChain
(ImmutableChain chain) PlanExecutionConfig.setChainResultSummary
(ChainResultsSummary chainResultsSummary) PlanExecutionConfigImpl.setChainResultSummary
(ChainResultsSummary chainResultsSummary) PlanExecutionConfig.setExecuteAllStages()
PlanExecutionConfigImpl.setExecuteAllStages()
PlanExecutionConfig.setLatestManualStageForAutomaticExecution
(@Nullable String latestManualStageForAutomaticExecution) PlanExecutionConfigImpl.setLatestManualStageForAutomaticExecution
(@Nullable String latestManualStageForAutomaticExecution) PlanExecutionConfig.setVerboseLogging
(boolean verboseMode) PlanExecutionConfigImpl.setVerboseLogging
(boolean verboseMode) Modifier and TypeMethodDescription@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
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
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
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
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
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 givenPlan
controlled byPlanExecutionConfig
PlanExecutionConfig
allows to control manual stages execution as well as enforcing execution of manual stages@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 givenPlan
controlled byPlanExecutionConfig
PlanExecutionConfig
allows to control manual stages execution as well as enforcing execution of manual stages@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
PlanExecutionManagerImpl.startManualExecution
(@NotNull ImmutableChain chain, @Nullable PlanExecutionConfig planExecutionConfig, @NotNull com.atlassian.user.User user, @NotNull Map<String, String> params, @NotNull Map<String, String> variables) -
Uses of PlanExecutionConfig in com.atlassian.bamboo.v2.trigger
Modifier and TypeMethodDescriptionContinuedBuildDetectionAction.getPlanExecutionConfig()
@Nullable PlanExecutionConfig
ManualBuildDetectionAction.getPlanExecutionConfig()
PluginTriggerBuildDetectionAction.getPlanExecutionConfig()
ModifierConstructorDescriptionContinuedBuildDetectionAction
(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)
ChainResultManager.cleanForRerunBuild(BuildContext)
followed by#createStateForRerunBuild(BuildContext, Map, PlanExecutionConfig)