hudson.plugins.throttleconcurrents
Class ThrottleJobProperty.DescriptorImpl

java.lang.Object
  extended by hudson.model.Descriptor<hudson.model.JobProperty<?>>
      extended by hudson.model.JobPropertyDescriptor
          extended by hudson.plugins.throttleconcurrents.ThrottleJobProperty.DescriptorImpl
All Implemented Interfaces:
hudson.model.Saveable
Enclosing class:
ThrottleJobProperty

@Extension
public static final class ThrottleJobProperty.DescriptorImpl
extends hudson.model.JobPropertyDescriptor


Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.model.Descriptor
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType
 
Field Summary
 
Fields inherited from class hudson.model.Descriptor
clazz
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Constructor Summary
ThrottleJobProperty.DescriptorImpl()
           
 
Method Summary
 boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
           
 hudson.util.FormValidation doCheckMaxConcurrentPerNode(java.lang.String value)
           
 hudson.util.FormValidation doCheckMaxConcurrentTotal(java.lang.String value)
           
 hudson.util.ListBoxModel doFillCategoryItems()
           
 java.util.List<ThrottleJobProperty.ThrottleCategory> getCategories()
           
 ThrottleJobProperty.ThrottleCategory getCategoryByName(java.lang.String categoryName)
           
 java.lang.String getDisplayName()
           
 boolean isApplicable(java.lang.Class<? extends hudson.model.Job> jobType)
           
 
Methods inherited from class hudson.model.JobPropertyDescriptor
all, getPropertyDescriptors, newInstance
 
Methods inherited from class hudson.model.Descriptor
calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckUrl, getConfigPage, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getJsonSafeClassName, getPropertyType, getPropertyType, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstancesFromHeteroList, save, toArray, toList, toMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThrottleJobProperty.DescriptorImpl

public ThrottleJobProperty.DescriptorImpl()
Method Detail

getDisplayName

public java.lang.String getDisplayName()
Specified by:
getDisplayName in class hudson.model.Descriptor<hudson.model.JobProperty<?>>

isApplicable

public boolean isApplicable(java.lang.Class<? extends hudson.model.Job> jobType)
Overrides:
isApplicable in class hudson.model.JobPropertyDescriptor

configure

public boolean configure(org.kohsuke.stapler.StaplerRequest req,
                         net.sf.json.JSONObject formData)
                  throws hudson.model.Descriptor.FormException
Overrides:
configure in class hudson.model.Descriptor<hudson.model.JobProperty<?>>
Throws:
hudson.model.Descriptor.FormException

doCheckMaxConcurrentPerNode

public hudson.util.FormValidation doCheckMaxConcurrentPerNode(@QueryParameter
                                                              java.lang.String value)

doCheckMaxConcurrentTotal

public hudson.util.FormValidation doCheckMaxConcurrentTotal(@QueryParameter
                                                            java.lang.String value)

getCategoryByName

public ThrottleJobProperty.ThrottleCategory getCategoryByName(java.lang.String categoryName)

getCategories

public java.util.List<ThrottleJobProperty.ThrottleCategory> getCategories()

doFillCategoryItems

public hudson.util.ListBoxModel doFillCategoryItems()


Copyright © 2010. All Rights Reserved.