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 |
---|---|
static ThrottleJobProperty.DescriptorImpl |
fetchDescriptor() |
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
MatrixProject s. |
boolean |
isThrottleMatrixConfigurations()
Check if the build throttles
MatrixConfiguration s. |
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()
MatrixProject
s.true
if MatrixProject
s should be throttledpublic boolean isThrottleMatrixConfigurations()
MatrixConfiguration
s.true
if MatrixRun
s should be throttledpublic static ThrottleJobProperty.DescriptorImpl fetchDescriptor()
Copyright © 2016–2020. All rights reserved.