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
Constructors Constructor Description ChildDependencyBuildDetectionAction(ImmutablePlan plan, PlanIdentifier child, BuildNumberGeneratorService buildNumberGenerator, TriggerManager triggerManager, BuildChanges buildChanges, ErrorUpdateHandler errorUpdateHandler, ImmutablePlanCacheService immutablePlanCacheService, BuildContextBuilderFactory buildContextBuilderFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull BuildDetectionResult
generateResultWithoutChanges()
Creates a result with a new number without doing change detection@Nullable BuildChanges
performDelayedChangeDetection(BuildContext buildContext, @NotNull PlanExecutionLaunchControl.ReleaseLocksActions releaseLocksActions)
Performs a change detection
-
-
-
Constructor Detail
-
ChildDependencyBuildDetectionAction
public ChildDependencyBuildDetectionAction(ImmutablePlan plan, PlanIdentifier child, BuildNumberGeneratorService buildNumberGenerator, TriggerManager triggerManager, BuildChanges buildChanges, ErrorUpdateHandler errorUpdateHandler, ImmutablePlanCacheService immutablePlanCacheService, BuildContextBuilderFactory buildContextBuilderFactory)
-
-
Method Detail
-
generateResultWithoutChanges
@NotNull public @NotNull BuildDetectionResult 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
-
-