Package com.atlassian.bamboo.v2.trigger
Class ContinuedBuildDetectionAction
- java.lang.Object
-
- com.atlassian.bamboo.v2.trigger.ContinuedBuildDetectionAction
-
- All Implemented Interfaces:
BuildDetectionAction
,DelayedChangeDetectionAction
,UnconditionalBuildDetectionAction
,UserInitiatedBuildDetectionAction
public class ContinuedBuildDetectionAction extends Object implements UserInitiatedBuildDetectionAction, DelayedChangeDetectionAction
Implementation ofBuildDetectionAction
for Manual Builds
-
-
Constructor Summary
Constructors 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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull BuildDetectionResult
generateResultWithoutChanges()
Creates a result with a new number without doing change detectionPlanExecutionConfig
getPlanExecutionConfig()
Controls how plan execution would be resumed If null, normal plan execution would be performed (new build starting on first stage)@NotNull BuildChanges
performDelayedChangeDetection(BuildContext buildContext, @NotNull PlanExecutionLaunchControl.ReleaseLocksActions releaseLocksActions)
Performs a change detection
-
-
-
Constructor Detail
-
ContinuedBuildDetectionAction
public ContinuedBuildDetectionAction(ImmutableChain chain, @NotNull @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)
-
-
Method Detail
-
performDelayedChangeDetection
@NotNull public @NotNull BuildChanges performDelayedChangeDetection(BuildContext buildContext, @NotNull PlanExecutionLaunchControl.ReleaseLocksActions releaseLocksActions) throws RepositoryException
Description copied from interface:UnconditionalBuildDetectionAction
Performs a change detection- Specified by:
performDelayedChangeDetection
in interfaceUnconditionalBuildDetectionAction
releaseLocksActions
- actions used for releasing repositories caches locks- Returns:
- Null if and error has occurred.
- Throws:
RepositoryException
-
generateResultWithoutChanges
@NotNull public @NotNull BuildDetectionResult generateResultWithoutChanges()
Description copied from interface:UnconditionalBuildDetectionAction
Creates a result with a new number without doing change detection- Specified by:
generateResultWithoutChanges
in interfaceUnconditionalBuildDetectionAction
- Returns:
-
getPlanExecutionConfig
public PlanExecutionConfig getPlanExecutionConfig()
Description copied from interface:UserInitiatedBuildDetectionAction
Controls how plan execution would be resumed If null, normal plan execution would be performed (new build starting on first stage)- Specified by:
getPlanExecutionConfig
in interfaceUserInitiatedBuildDetectionAction
- Returns:
- planExecutionConfig
-
-