public class AbstractDependentDetectionAction extends Object implements UnconditionalBuildDetectionAction
Modifier and Type | Field and Description |
---|---|
protected BuildChanges |
buildChanges |
protected BuildContextBuilderFactory |
buildContextBuilderFactory |
protected BuildLoggerManager |
buildLoggerManager |
protected BuildNumberGeneratorService |
buildNumberGeneratorService |
protected ImmutableChain |
chain |
protected ChangeDetectionManager |
changeDetectionManager |
protected BuildContext |
completedBuildContext |
protected String |
completedBuildResultKey |
protected CustomVariableContext |
customVariableContext |
protected ErrorUpdateHandler |
errorUpdateHandler |
static String |
PARENT_BUILD_KEY |
protected ImmutableChain |
parentChain |
protected PlanKey |
planKey |
protected PlanVcsRevisionHistoryService |
planVcsRevisionHistoryService |
protected TriggerManager |
triggerManager |
protected VcsRepositoryManager |
vcsRepositoryManager |
Constructor and Description |
---|
AbstractDependentDetectionAction(ImmutableChain chain,
ImmutableChain parentChain,
BuildContext completedBuildContext,
ErrorUpdateHandler errorUpdateHandler,
TriggerManager triggerManager,
ChangeDetectionManager changeDetectionManager,
BuildNumberGeneratorService buildNumberGeneratorService,
BuildLoggerManager buildLoggerManager,
PlanVcsRevisionHistoryService planVcsRevisionHistoryService,
BuildContextBuilderFactory buildContextBuilderFactory,
CustomVariableContext customVariableContext,
VcsRepositoryManager vcsRepositoryManager) |
Modifier and Type | Method and Description |
---|---|
protected void |
addDependencyInformation(Map<String,String> customBuildData,
Map<String,String> oldCustomData) |
BuildDetectionResult |
generateResultWithoutChanges()
Creates a result with a new number without doing change detection
|
BuildChanges |
performDelayedChangeDetection(BuildContext buildContext)
Performs a change detection
|
protected BuildContext |
prepareBuildContext(ErrorCollection errorCollection) |
protected final PlanKey planKey
protected final ImmutableChain chain
protected final ImmutableChain parentChain
protected final BuildContext completedBuildContext
protected final BuildLoggerManager buildLoggerManager
protected final String completedBuildResultKey
protected final ErrorUpdateHandler errorUpdateHandler
protected final TriggerManager triggerManager
protected final ChangeDetectionManager changeDetectionManager
protected final BuildNumberGeneratorService buildNumberGeneratorService
protected final PlanVcsRevisionHistoryService planVcsRevisionHistoryService
protected final BuildContextBuilderFactory buildContextBuilderFactory
protected final CustomVariableContext customVariableContext
protected final VcsRepositoryManager vcsRepositoryManager
protected BuildChanges buildChanges
public static final String PARENT_BUILD_KEY
public AbstractDependentDetectionAction(ImmutableChain chain, ImmutableChain parentChain, BuildContext completedBuildContext, ErrorUpdateHandler errorUpdateHandler, TriggerManager triggerManager, ChangeDetectionManager changeDetectionManager, BuildNumberGeneratorService buildNumberGeneratorService, BuildLoggerManager buildLoggerManager, PlanVcsRevisionHistoryService planVcsRevisionHistoryService, BuildContextBuilderFactory buildContextBuilderFactory, CustomVariableContext customVariableContext, VcsRepositoryManager vcsRepositoryManager)
@NotNull public BuildDetectionResult generateResultWithoutChanges()
UnconditionalBuildDetectionAction
generateResultWithoutChanges
in interface UnconditionalBuildDetectionAction
@Nullable public BuildChanges performDelayedChangeDetection(BuildContext buildContext) throws RepositoryException
UnconditionalBuildDetectionAction
performDelayedChangeDetection
in interface UnconditionalBuildDetectionAction
RepositoryException
@Nullable protected BuildContext prepareBuildContext(@NotNull ErrorCollection errorCollection)
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.