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(java.lang.String buildKey)
          Checks if build should be blocked, and executes any parent builds if required.
 boolean isBlockedFromBuilding(java.lang.String buildKey, java.util.Set<Plan> siblings)
          Checks if build should be blocked, and executes any parent builds if required.
 

Method Detail

isBlockedFromBuilding

boolean isBlockedFromBuilding(java.lang.String buildKey)
Checks if build should be blocked, and executes any parent builds if required.

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

isBlockedFromBuilding

boolean isBlockedFromBuilding(java.lang.String buildKey,
                              @Nullable
                              java.util.Set<Plan> 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:
buildKey -
siblings -
Returns:
false if build has not been blocked, or if blocking is disabled. Otherwise true.


Copyright © 2010 Atlassian. All Rights Reserved.