com.atlassian.bamboo.v2.build.trigger
Interface DependencyBlockingManager

All Known Implementing Classes:
DefaultDependencyBlockingManager

public interface DependencyBlockingManager

Manages the remote triggering of builds

Author:
jdumay

Method Summary
 boolean isBlockedFromBuilding(PlanKey planKey)
          Checks if build should be blocked, and executes any parent builds if required.
 boolean isBlockedFromBuilding(PlanKey planKey, java.util.Set<? extends ImmutablePlan> siblings)
          Checks if build should be blocked, and executes any parent builds if required.
 

Method Detail

isBlockedFromBuilding

boolean isBlockedFromBuilding(PlanKey planKey)
Checks if build should be blocked, and executes any parent builds if required.

Parameters:
planKey -
Returns:
false if build has not been blocked, or if blocking is disabled. Otherwise true.

isBlockedFromBuilding

boolean isBlockedFromBuilding(PlanKey planKey,
                              @Nullable
                              java.util.Set<? extends ImmutablePlan> siblings)
Checks if build should be blocked, and executes any parent builds if required. Takes into account dependent builds that are siblings of the build and checks if the build should be blocked by them

Parameters:
planKey -
siblings -
Returns:
false if build has not been blocked, or if blocking is disabled. Otherwise true.


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.