com.atlassian.bamboo.plan
Interface PlanExecutionPermitter
- All Known Implementing Classes:
- AbstractPlanExecutionPermitter, ExecutionLimitsServiceImpl, PlanExecutionConcurrencyServiceImpl
public interface PlanExecutionPermitter
Service to check against the plans ConcurrentBuildConfigForPlan
isPermittedToExecute
boolean isPermittedToExecute(@NotNull
Plan plan,
@NotNull
ErrorCollection errorCollection)
- Checks the given
Plan
s ConcurrentBuildConfigForPlan
and the number of concurrently running Plan
s to determine if the plan can be executed
- Parameters:
plan
- errorCollection
-
- Returns:
- allowedToExecute
setChainedExecutionPermitter
void setChainedExecutionPermitter(@Nullable
PlanExecutionPermitter chainedExecutionPermitter)
Copyright © 2010 Atlassian. All Rights Reserved.