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 of
BuildDetectionAction for Manual Builds-
Constructor Summary
ConstructorsConstructorDescriptionContinuedBuildDetectionAction(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
Modifier and TypeMethodDescription@NotNull BuildDetectionResultCreates a result with a new number without doing change detectionControls how plan execution would be resumed If null, normal plan execution would be performed (new build starting on first stage)@NotNull BuildChangesperformDelayedChangeDetection(BuildContext buildContext, @NotNull PlanExecutionLaunchControl.ReleaseLocksActions releaseLocksActions) Performs a change detection
-
Constructor Details
-
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 Details
-
performDelayedChangeDetection
@NotNull public @NotNull BuildChanges performDelayedChangeDetection(BuildContext buildContext, @NotNull PlanExecutionLaunchControl.ReleaseLocksActions releaseLocksActions) throws RepositoryException Description copied from interface:UnconditionalBuildDetectionActionPerforms a change detection- Specified by:
performDelayedChangeDetectionin interfaceUnconditionalBuildDetectionAction- Parameters:
buildContext-releaseLocksActions- actions used for releasing repositories caches locks- Returns:
- Null if and error has occurred.
- Throws:
RepositoryException
-
generateResultWithoutChanges
Description copied from interface:UnconditionalBuildDetectionActionCreates a result with a new number without doing change detection- Specified by:
generateResultWithoutChangesin interfaceUnconditionalBuildDetectionAction- Returns:
-
getPlanExecutionConfig
Description copied from interface:UserInitiatedBuildDetectionActionControls how plan execution would be resumed If null, normal plan execution would be performed (new build starting on first stage)- Specified by:
getPlanExecutionConfigin interfaceUserInitiatedBuildDetectionAction- Returns:
- planExecutionConfig
-