public class ManualBuildDetectionAction extends Object implements UserInitiatedBuildDetectionAction, DelayedChangeDetectionAction
BuildDetectionAction
for Manual BuildsModifier and Type | Field and Description |
---|---|
static String |
CUSTOM_REVISION_PARAMETER |
Constructor and Description |
---|
ManualBuildDetectionAction(ImmutableChain chain,
com.atlassian.user.User user,
PlanExecutionConfig planExecutionConfig,
Map<String,String> params,
Map<String,String> variables,
BuildNumberGeneratorService buildNumberGenerator,
ChangeDetectionManager changeDetectionManager,
TriggerManager triggerManager,
ErrorUpdateHandler errorUpdateHandler,
VariableDefinitionManager variableDefinitionManager,
BuildContextBuilderFactory buildContextBuilderFactory) |
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 static final String CUSTOM_REVISION_PARAMETER
public 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)
@NotNull public BuildDetectionResult generateResultWithoutChanges()
UnconditionalBuildDetectionAction
generateResultWithoutChanges
in interface UnconditionalBuildDetectionAction
@Nullable public BuildChanges performDelayedChangeDetection(BuildContext buildContext) throws RepositoryException
UnconditionalBuildDetectionAction
performDelayedChangeDetection
in interface UnconditionalBuildDetectionAction
RepositoryException
@Nullable public PlanExecutionConfig getPlanExecutionConfig()
UserInitiatedBuildDetectionAction
getPlanExecutionConfig
in interface UserInitiatedBuildDetectionAction
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.