public class ContinuedBuildDetectionAction extends Object implements UserInitiatedBuildDetectionAction, DelayedChangeDetectionAction
BuildDetectionAction
for Manual BuildsConstructor 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) |
Modifier and Type | Method and Description |
---|---|
BuildDetectionResult |
generateResultWithoutChanges()
Creates a result with a new number without doing change detection
|
PlanExecutionConfig |
getPlanExecutionConfig()
Controls how plan execution would be resumed
If null, normal plan execution would be performed (new build starting on first stage)
|
BuildChanges |
performDelayedChangeDetection(BuildContext buildContext)
Performs a change detection
|
public 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)
@NotNull public BuildChanges performDelayedChangeDetection(@NotNull BuildContext buildContext)
UnconditionalBuildDetectionAction
performDelayedChangeDetection
in interface UnconditionalBuildDetectionAction
@NotNull public BuildDetectionResult generateResultWithoutChanges()
UnconditionalBuildDetectionAction
generateResultWithoutChanges
in interface UnconditionalBuildDetectionAction
public PlanExecutionConfig getPlanExecutionConfig()
UserInitiatedBuildDetectionAction
getPlanExecutionConfig
in interface UserInitiatedBuildDetectionAction
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.