Class ConcurrentBuildConfigForPlan
java.lang.Object
com.atlassian.bamboo.build.configuration.ConcurrentBuildConfigForPlan
- All Implemented Interfaces:
Serializable
A class representing plan level concurrent build configuration
- See Also:
-
Constructor Summary
ConstructorDescriptionConcurrentBuildConfigForPlan
(boolean overrideDefault, int numberOfConcurrentBuilds, ConcurrentBuildExecutionStrategy executionStrategy) ConcurrentBuildConfigForPlan
(boolean overrideDefault, int numberOfConcurrentBuilds, String executionStrategy) -
Method Summary
Modifier and TypeMethodDescriptionint
int
boolean
boolean
void
setAdministrationConfigurationAccessor
(AdministrationConfigurationAccessor administrationConfigurationAccessor)
-
Constructor Details
-
ConcurrentBuildConfigForPlan
public ConcurrentBuildConfigForPlan(boolean overrideDefault, int numberOfConcurrentBuilds, ConcurrentBuildExecutionStrategy executionStrategy) -
ConcurrentBuildConfigForPlan
public ConcurrentBuildConfigForPlan(boolean overrideDefault, int numberOfConcurrentBuilds, String executionStrategy)
-
-
Method Details
-
setAdministrationConfigurationAccessor
public void setAdministrationConfigurationAccessor(AdministrationConfigurationAccessor administrationConfigurationAccessor) -
getEffectiveNumberOfConcurrentBuilds
public int getEffectiveNumberOfConcurrentBuilds()- Returns:
- returns number of concurrent builds taking global configuration into account
-
isDefaultOverridden
public boolean isDefaultOverridden() -
getNumberOfConcurrentBuilds
public int getNumberOfConcurrentBuilds() -
hasStopOldestBuildsStategy
public boolean hasStopOldestBuildsStategy()
-