com.atlassian.bamboo.plan
Interface PlanExecutionPermitter
- All Known Implementing Classes:
- AbstractPlanExecutionPermitter, ExecutionLimitsServiceImpl, PlanExecutionConcurrencyServiceImpl
public interface PlanExecutionPermitter
Service to check against the chain's ConcurrentBuildConfig
isPermittedToExecute
boolean isPermittedToExecute(@NotNull
ImmutableChain chain,
@NotNull
ErrorCollection errorCollection)
- Checks the given
Chain
's ConcurrentBuildConfig
and the number of concurrently running Chain
s 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.