Uses of Interface
com.atlassian.bamboo.plan.PlanExecutionConfig
-
Packages that use PlanExecutionConfig Package Description com.atlassian.bamboo.build com.atlassian.bamboo.chains com.atlassian.bamboo.plan com.atlassian.bamboo.v2.trigger -
-
Uses of PlanExecutionConfig in com.atlassian.bamboo.build
Methods in com.atlassian.bamboo.build that return PlanExecutionConfig Modifier and Type Method 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)Methods in com.atlassian.bamboo.build with parameters of type PlanExecutionConfig Modifier and Type Method Description @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
Methods in com.atlassian.bamboo.chains with parameters of type PlanExecutionConfig Modifier and Type Method Description 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.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.since 9.0 useChainResultManager.cleanForRerunBuild(BuildContext)
followed by#createStateForRerunBuild(BuildContext, Map, PlanExecutionConfig)
@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
Classes in com.atlassian.bamboo.plan that implement PlanExecutionConfig Modifier and Type Class Description class
PlanExecutionConfigImpl
Methods in com.atlassian.bamboo.plan that return PlanExecutionConfig Modifier and Type Method Description @NotNull PlanExecutionConfig
PlanExecutionConfig. build()
@NotNull PlanExecutionConfig
PlanExecutionConfigImpl. build()
PlanExecutionConfig
PlanExecutionConfig. setChain(ImmutableChain chain)
PlanExecutionConfig
PlanExecutionConfigImpl. setChain(ImmutableChain chain)
PlanExecutionConfig
PlanExecutionConfig. setChainResultSummary(ChainResultsSummary chainResultsSummary)
PlanExecutionConfig
PlanExecutionConfigImpl. setChainResultSummary(ChainResultsSummary chainResultsSummary)
PlanExecutionConfig
PlanExecutionConfig. setExecuteAllStages()
PlanExecutionConfig
PlanExecutionConfigImpl. setExecuteAllStages()
PlanExecutionConfig
PlanExecutionConfig. setLatestManualStageForAutomaticExecution(@Nullable String latestManualStageForAutomaticExecution)
PlanExecutionConfig
PlanExecutionConfigImpl. setLatestManualStageForAutomaticExecution(@Nullable String latestManualStageForAutomaticExecution)
PlanExecutionConfig
PlanExecutionConfig. setVerboseLogging(boolean verboseMode)
PlanExecutionConfig
PlanExecutionConfigImpl. setVerboseLogging(boolean verboseMode)
Methods in com.atlassian.bamboo.plan with parameters of type PlanExecutionConfig Modifier and Type Method 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
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
Methods in com.atlassian.bamboo.v2.trigger that return PlanExecutionConfig Modifier and Type Method Description PlanExecutionConfig
ContinuedBuildDetectionAction. getPlanExecutionConfig()
@Nullable PlanExecutionConfig
ManualBuildDetectionAction. getPlanExecutionConfig()
PlanExecutionConfig
PluginTriggerBuildDetectionAction. getPlanExecutionConfig()
Constructors in com.atlassian.bamboo.v2.trigger with parameters of type PlanExecutionConfig Constructor 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)
-