com.atlassian.bamboo.plan
Interface PlanExecutionPermitter

All Known Implementing Classes:
AbstractPlanExecutionPermitter, ExecutionLimitsServiceImpl, PlanExecutionConcurrencyServiceImpl

public interface PlanExecutionPermitter

Service to check against the chain's ConcurrentBuildConfig


Method Summary
 boolean isPermittedToExecute(ImmutableChain chain, ErrorCollection errorCollection)
          Checks the given Chain's ConcurrentBuildConfig and the number of concurrently running Chains to determine if the plan can be executed
 void setChainedExecutionPermitter(PlanExecutionPermitter chainedExecutionPermitter)
           
 

Method Detail

isPermittedToExecute

boolean isPermittedToExecute(@NotNull
                             ImmutableChain chain,
                             @NotNull
                             ErrorCollection errorCollection)
Checks the given Chain's ConcurrentBuildConfig and the number of concurrently running Chains to determine if the plan can be executed

Parameters:
chain -
errorCollection -
Returns:
allowedToExecute

setChainedExecutionPermitter

void setChainedExecutionPermitter(@Nullable
                                  PlanExecutionPermitter chainedExecutionPermitter)


Copyright © 2012 Atlassian. All Rights Reserved.