hudson.plugins.throttleconcurrents
Class ThrottleJobProperty
java.lang.Object
hudson.model.JobProperty<hudson.model.AbstractProject<?,?>>
hudson.plugins.throttleconcurrents.ThrottleJobProperty
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.model.JobProperty<?>>, hudson.model.ReconfigurableDescribable<hudson.model.JobProperty<?>>, hudson.tasks.BuildStep
public class ThrottleJobProperty
- extends hudson.model.JobProperty<hudson.model.AbstractProject<?,?>>
| Nested classes/interfaces inherited from interface hudson.tasks.BuildStep |
hudson.tasks.BuildStep.PublisherList |
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Fields inherited from class hudson.model.JobProperty |
owner |
| Fields inherited from interface hudson.tasks.BuildStep |
BUILDERS, PUBLISHERS |
| Methods inherited from class hudson.model.JobProperty |
getDescriptor, getJobAction, getJobActions, getJobOverrides, getProjectAction, getProjectActions, getRequiredMonitorService, getSubTasks, perform, prebuild, reconfigure |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThrottleJobProperty
@DataBoundConstructor
public ThrottleJobProperty(Integer maxConcurrentPerNode,
Integer maxConcurrentTotal,
List<String> categories,
boolean throttleEnabled,
String throttleOption,
@CheckForNull
ThrottleMatrixProjectOptions matrixOptions)
readResolve
public Object readResolve()
- Migrates deprecated/obsolete data
setOwner
protected void setOwner(hudson.model.AbstractProject<?,?> owner)
- Overrides:
setOwner in class hudson.model.JobProperty<hudson.model.AbstractProject<?,?>>
getThrottleEnabled
public boolean getThrottleEnabled()
getThrottleOption
public String getThrottleOption()
getCategories
public List<String> getCategories()
getMaxConcurrentPerNode
public Integer getMaxConcurrentPerNode()
getMaxConcurrentTotal
public Integer getMaxConcurrentTotal()
getMatrixOptions
@CheckForNull
public ThrottleMatrixProjectOptions getMatrixOptions()
isThrottleMatrixBuilds
public boolean isThrottleMatrixBuilds()
- Check if the build throttles
MatrixBuilds.
isThrottleMatrixConfigurations
public boolean isThrottleMatrixConfigurations()
- Check if the build throttles
MatrixConfigurations.
Copyright © 2004-2014. All Rights Reserved.