public class DefaultDependencyBlockingManager extends Object implements DependencyBlockingManager
Constructor and Description |
---|
DefaultDependencyBlockingManager(DependencyTreeBuilder dependencyTreeBuilder,
ImmutablePlanCacheService immutablePlanCacheService,
ChangeDetectionManager changeDetectionManager,
PlanExecutionManager planExecutionManager,
TriggerManager triggerManager,
ErrorUpdateHandler errorUpdateHandler,
BuildNumberGeneratorService buildNumberGenerator,
ChainExecutionManager chainExecutionManager,
BuildContextBuilderFactory buildContextBuilderFactory) |
Modifier and Type | Method and Description |
---|---|
boolean |
isBlockedFromBuilding(PlanKey planKey)
Checks if build should be blocked, and executes any parent builds if required.
|
boolean |
isBlockedFromBuilding(PlanKey planKey,
Set<? extends ImmutablePlan> plansBeingTriggered)
Checks if build should be blocked, and executes any parent builds if required.
|
public DefaultDependencyBlockingManager(DependencyTreeBuilder dependencyTreeBuilder, ImmutablePlanCacheService immutablePlanCacheService, ChangeDetectionManager changeDetectionManager, PlanExecutionManager planExecutionManager, TriggerManager triggerManager, ErrorUpdateHandler errorUpdateHandler, BuildNumberGeneratorService buildNumberGenerator, ChainExecutionManager chainExecutionManager, BuildContextBuilderFactory buildContextBuilderFactory)
public boolean isBlockedFromBuilding(PlanKey planKey)
DependencyBlockingManager
isBlockedFromBuilding
in interface DependencyBlockingManager
public boolean isBlockedFromBuilding(PlanKey planKey, @Nullable Set<? extends ImmutablePlan> plansBeingTriggered)
DependencyBlockingManager
isBlockedFromBuilding
in interface DependencyBlockingManager
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.