public class ManualBuildDetectionAction extends Object implements UserInitiatedBuildDetectionAction, DelayedChangeDetectionAction
BuildDetectionAction for Manual Builds| Modifier 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()
UnconditionalBuildDetectionActiongenerateResultWithoutChanges in interface UnconditionalBuildDetectionAction@Nullable public BuildChanges performDelayedChangeDetection(BuildContext buildContext) throws RepositoryException
UnconditionalBuildDetectionActionperformDelayedChangeDetection in interface UnconditionalBuildDetectionActionRepositoryException@Nullable public PlanExecutionConfig getPlanExecutionConfig()
UserInitiatedBuildDetectionActiongetPlanExecutionConfig in interface UserInitiatedBuildDetectionActionCopyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.