Package com.atlassian.bamboo.v2.trigger
Class AbstractDependentDetectionAction
java.lang.Object
com.atlassian.bamboo.v2.trigger.AbstractDependentDetectionAction
- All Implemented Interfaces:
BuildDetectionAction
,UnconditionalBuildDetectionAction
- Direct Known Subclasses:
DependentBuildDetectionAction
public class AbstractDependentDetectionAction
extends Object
implements UnconditionalBuildDetectionAction
-
Field Summary
Modifier and TypeFieldDescriptionprotected BuildChanges
protected final BuildContextBuilderFactory
protected final BuildLoggerManager
protected final BuildNumberGeneratorService
protected final ImmutableChain
protected final ChangeDetectionManager
protected final BuildContext
protected final String
protected final CustomVariableContext
protected final ErrorUpdateHandler
static final String
protected final ImmutableChain
protected final PlanKey
protected final PlanVcsRevisionHistoryService
protected final TriggerManager
protected final VcsRepositoryManager
-
Constructor Summary
ConstructorDescriptionAbstractDependentDetectionAction
(ImmutableChain chain, ImmutableChain parentChain, BuildContext completedBuildContext, ErrorUpdateHandler errorUpdateHandler, TriggerManager triggerManager, ChangeDetectionManager changeDetectionManager, BuildNumberGeneratorService buildNumberGeneratorService, BuildLoggerManager buildLoggerManager, PlanVcsRevisionHistoryService planVcsRevisionHistoryService, BuildContextBuilderFactory buildContextBuilderFactory, CustomVariableContext customVariableContext, VcsRepositoryManager vcsRepositoryManager) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
@NotNull BuildDetectionResult
Creates a result with a new number without doing change detection@Nullable BuildChanges
performDelayedChangeDetection
(BuildContext buildContext, PlanExecutionLaunchControl.ReleaseLocksActions releaseLocksActions) Performs a change detectionprotected @Nullable BuildContext
prepareBuildContext
(@NotNull ErrorCollection errorCollection)
-
Field Details
-
planKey
-
chain
-
parentChain
-
completedBuildContext
-
buildLoggerManager
-
completedBuildResultKey
-
errorUpdateHandler
-
triggerManager
-
changeDetectionManager
-
buildNumberGeneratorService
-
planVcsRevisionHistoryService
-
buildContextBuilderFactory
-
customVariableContext
-
vcsRepositoryManager
-
buildChanges
-
PARENT_BUILD_KEY
- See Also:
-
-
Constructor Details
-
AbstractDependentDetectionAction
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)
-
-
Method Details
-
generateResultWithoutChanges
Description copied from interface:UnconditionalBuildDetectionAction
Creates a result with a new number without doing change detection- Specified by:
generateResultWithoutChanges
in interfaceUnconditionalBuildDetectionAction
- Returns:
-
performDelayedChangeDetection
@Nullable public @Nullable BuildChanges performDelayedChangeDetection(BuildContext buildContext, @NotNull PlanExecutionLaunchControl.ReleaseLocksActions releaseLocksActions) throws RepositoryException Description copied from interface:UnconditionalBuildDetectionAction
Performs a change detection- Specified by:
performDelayedChangeDetection
in interfaceUnconditionalBuildDetectionAction
releaseLocksActions
- actions used for releasing repositories caches locks- Returns:
- Null if and error has occurred.
- Throws:
RepositoryException
-
prepareBuildContext
@Nullable protected @Nullable BuildContext prepareBuildContext(@NotNull @NotNull ErrorCollection errorCollection) -
addDependencyInformation
-