public class ThrottleJobProperty
extends hudson.model.JobProperty<hudson.model.Job<?,?>>
| Modifier and Type | Class and Description |
|---|---|
static class |
ThrottleJobProperty.DescriptorImpl |
static class |
ThrottleJobProperty.NodeLabeledPair |
static class |
ThrottleJobProperty.ThrottleCategory |
| Constructor and Description |
|---|
ThrottleJobProperty(Integer maxConcurrentPerNode,
Integer maxConcurrentTotal,
List<String> categories,
boolean throttleEnabled,
String throttleOption,
boolean limitOneJobWithMatchingParams,
String paramsToUseForLimit,
ThrottleMatrixProjectOptions matrixOptions) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getCategories() |
ThrottleMatrixProjectOptions |
getMatrixOptions() |
Integer |
getMaxConcurrentPerNode() |
Integer |
getMaxConcurrentTotal() |
List<String> |
getParamsToCompare() |
String |
getParamsToUseForLimit() |
boolean |
getThrottleEnabled() |
String |
getThrottleOption() |
boolean |
isLimitOneJobWithMatchingParams() |
boolean |
isThrottleMatrixBuilds()
Check if the build throttles
MatrixProjects. |
boolean |
isThrottleMatrixConfigurations()
Check if the build throttles
MatrixConfigurations. |
Object |
readResolve()
Migrates deprecated/obsolete data.
|
protected void |
setOwner(hudson.model.Job<?,?> owner) |
@DataBoundConstructor public ThrottleJobProperty(Integer maxConcurrentPerNode, Integer maxConcurrentTotal, List<String> categories, boolean throttleEnabled, String throttleOption, boolean limitOneJobWithMatchingParams, String paramsToUseForLimit, @CheckForNull ThrottleMatrixProjectOptions matrixOptions)
public Object readResolve()
protected void setOwner(hudson.model.Job<?,?> owner)
setOwner in class hudson.model.JobProperty<hudson.model.Job<?,?>>public boolean getThrottleEnabled()
public boolean isLimitOneJobWithMatchingParams()
public String getThrottleOption()
public Integer getMaxConcurrentPerNode()
public Integer getMaxConcurrentTotal()
public String getParamsToUseForLimit()
@CheckForNull public ThrottleMatrixProjectOptions getMatrixOptions()
public boolean isThrottleMatrixBuilds()
MatrixProjects.true if MatrixProjects should be throttledpublic boolean isThrottleMatrixConfigurations()
MatrixConfigurations.true if MatrixRuns should be throttledCopyright © 2016. All rights reserved.