com.atlassian.bamboo.plan
Interface PlanExecutionPermitter

All Known Implementing Classes:
AbstractPlanExecutionPermitter, ExecutionLimitsServiceImpl, PlanExecutionConcurrencyServiceImpl

public interface PlanExecutionPermitter

Service to check against the plans ConcurrentBuildConfigForPlan


Method Summary
 boolean isPermittedToExecute(Plan plan, ErrorCollection errorCollection)
          Checks the given Plans ConcurrentBuildConfigForPlan and the number of concurrently running Plans to determine if the plan can be executed
 void setChainedExecutionPermitter(PlanExecutionPermitter chainedExecutionPermitter)
           
 

Method Detail

isPermittedToExecute

boolean isPermittedToExecute(@NotNull
                             Plan plan,
                             @NotNull
                             ErrorCollection errorCollection)
Checks the given Plans ConcurrentBuildConfigForPlan and the number of concurrently running Plans to determine if the plan can be executed

Parameters:
plan -
errorCollection -
Returns:
allowedToExecute

setChainedExecutionPermitter

void setChainedExecutionPermitter(@Nullable
                                  PlanExecutionPermitter chainedExecutionPermitter)


Copyright © 2011 Atlassian. All Rights Reserved.