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
FieldsModifier and TypeFieldDescriptionprotected BuildChangesprotected final BuildContextBuilderFactoryprotected final BuildLoggerManagerprotected final BuildNumberGeneratorServiceprotected final ImmutableChainprotected final ChangeDetectionManagerprotected final BuildContextprotected final Stringprotected final CustomVariableContextprotected final ErrorUpdateHandlerstatic final Stringprotected final ImmutableChainprotected final PlanKeyprotected final PlanVcsRevisionHistoryServiceprotected final TriggerManagerprotected final VcsRepositoryManager -
Constructor Summary
ConstructorsConstructorDescriptionAbstractDependentDetectionAction(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 BuildDetectionResultCreates a result with a new number without doing change detection@Nullable BuildChangesperformDelayedChangeDetection(BuildContext buildContext, PlanExecutionLaunchControl.ReleaseLocksActions releaseLocksActions) Performs a change detectionprotected @Nullable BuildContextprepareBuildContext(@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:UnconditionalBuildDetectionActionCreates a result with a new number without doing change detection- Specified by:
generateResultWithoutChangesin interfaceUnconditionalBuildDetectionAction- Returns:
-
performDelayedChangeDetection
@Nullable public @Nullable BuildChanges performDelayedChangeDetection(BuildContext buildContext, @NotNull PlanExecutionLaunchControl.ReleaseLocksActions releaseLocksActions) throws RepositoryException Description copied from interface:UnconditionalBuildDetectionActionPerforms a change detection- Specified by:
performDelayedChangeDetectionin interfaceUnconditionalBuildDetectionAction- Parameters:
buildContext-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
-