public class ThrottleJobProperty extends JobProperty<Job<?,?>>
| Modifier and Type | Class and Description |
|---|---|
static class |
ThrottleJobProperty.DescriptorImpl |
static class |
ThrottleJobProperty.NodeLabeledPair |
static class |
ThrottleJobProperty.ThrottleCategory |
BuildStep.PublisherListExtensionPoint.LegacyInstancesAreScopedToHudsonownerBUILDERS, PUBLISHERS| 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
MatrixProjects. |
boolean |
isThrottleMatrixConfigurations()
Check if the build throttles
MatrixConfigurations. |
Object |
readResolve()
Migrates deprecated/obsolete data.
|
protected void |
setOwner(Job<?,?> owner) |
getDescriptor, getJobAction, getJobActions, getJobOverrides, getProjectAction, getProjectActions, getRequiredMonitorService, getSubTasks, perform, prebuild, reconfigure@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(Job<?,?> owner)
setOwner in class JobProperty<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 throttledpublic static ThrottleJobProperty.DescriptorImpl fetchDescriptor()
Copyright © 2016–2021. All rights reserved.