Package com.atlassian.bamboo.v2.trigger
Class ChildDependencyBuildDetectionAction
java.lang.Object
com.atlassian.bamboo.v2.trigger.ChildDependencyBuildDetectionAction
- All Implemented Interfaces:
BuildDetectionAction,UnconditionalBuildDetectionAction
public class ChildDependencyBuildDetectionAction
extends Object
implements UnconditionalBuildDetectionAction
-
Constructor Summary
ConstructorsConstructorDescriptionChildDependencyBuildDetectionAction(ImmutablePlan plan, PlanIdentifier child, BuildNumberGeneratorService buildNumberGenerator, TriggerManager triggerManager, BuildChanges buildChanges, ErrorUpdateHandler errorUpdateHandler, ImmutablePlanCacheService immutablePlanCacheService, BuildContextBuilderFactory buildContextBuilderFactory) -
Method Summary
Modifier and TypeMethodDescription@NotNull BuildDetectionResultCreates a result with a new number without doing change detection@Nullable BuildChangesperformDelayedChangeDetection(BuildContext buildContext, @NotNull PlanExecutionLaunchControl.ReleaseLocksActions releaseLocksActions) Performs a change detection
-
Constructor Details
-
ChildDependencyBuildDetectionAction
public ChildDependencyBuildDetectionAction(ImmutablePlan plan, PlanIdentifier child, BuildNumberGeneratorService buildNumberGenerator, TriggerManager triggerManager, BuildChanges buildChanges, ErrorUpdateHandler errorUpdateHandler, ImmutablePlanCacheService immutablePlanCacheService, BuildContextBuilderFactory buildContextBuilderFactory)
-
-
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
-