Package jenkins.branch
Class RateLimitBranchProperty.JobPropertyImpl.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<JobProperty<?>>
hudson.model.JobPropertyDescriptor
jenkins.branch.RateLimitBranchProperty.JobPropertyImpl.DescriptorImpl
- Enclosing class:
- RateLimitBranchProperty.JobPropertyImpl
@Extension
@Symbol("rateLimitBuilds")
public static class RateLimitBranchProperty.JobPropertyImpl.DescriptorImpl
extends JobPropertyDescriptor
Our descriptor.
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
Field Summary
Fields inherited from class hudson.model.Descriptor
clazz
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondoCheckCount
(int value, String durationName) Check the countFill the duration namesJobProperty<?>
newInstance
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) Methods inherited from class hudson.model.JobPropertyDescriptor
all, getPropertyDescriptors, isApplicable
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
newInstance
public JobProperty<?> newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws Descriptor.FormException - Overrides:
newInstance
in classJobPropertyDescriptor
- Throws:
Descriptor.FormException
-
getDisplayName
- Overrides:
getDisplayName
in classDescriptor<JobProperty<?>>
-
doFillDurationNameItems
Fill the duration names- Returns:
- the duration names.
-
doCheckCount
Check the count- Parameters:
value
- the count.durationName
- the duration name.- Returns:
- the form validation.
-