hudson.plugins.throttleconcurrents
Class ThrottleJobProperty

java.lang.Object
  extended by hudson.model.JobProperty<hudson.model.AbstractProject<?,?>>
      extended by 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 Class Summary
static class ThrottleJobProperty.DescriptorImpl
           
static class ThrottleJobProperty.NodeLabeledPair
           
static class ThrottleJobProperty.ThrottleCategory
           
 
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
hudson.tasks.BuildStep.PublisherList
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 
Fields inherited from class hudson.model.JobProperty
owner
 
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
 
Constructor Summary
ThrottleJobProperty(Integer maxConcurrentPerNode, Integer maxConcurrentTotal, List<String> categories, boolean throttleEnabled, String throttleOption, ThrottleMatrixProjectOptions matrixOptions)
           
 
Method Summary
 List<String> getCategories()
           
 ThrottleMatrixProjectOptions getMatrixOptions()
           
 Integer getMaxConcurrentPerNode()
           
 Integer getMaxConcurrentTotal()
           
 boolean getThrottleEnabled()
           
 String getThrottleOption()
           
 boolean isThrottleMatrixBuilds()
          Check if the build throttles MatrixBuilds.
 boolean isThrottleMatrixConfigurations()
          Check if the build throttles MatrixConfigurations.
 Object readResolve()
          Migrates deprecated/obsolete data
protected  void setOwner(hudson.model.AbstractProject<?,?> owner)
           
 
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
 

Constructor Detail

ThrottleJobProperty

@DataBoundConstructor
public ThrottleJobProperty(Integer maxConcurrentPerNode,
                                                Integer maxConcurrentTotal,
                                                List<String> categories,
                                                boolean throttleEnabled,
                                                String throttleOption,
                                                @CheckForNull
                                                ThrottleMatrixProjectOptions matrixOptions)
Method Detail

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.