Interface DependencyBlockingManager

  • All Known Implementing Classes:
    DefaultDependencyBlockingManager

    public interface DependencyBlockingManager
    Manages the remote triggering of builds
    Author:
    jdumay
    • 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
                                      @Nullable 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.