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
Constructors Constructor Description DescriptorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormValidation
doCheckCount(int value, String durationName)
Check the countListBoxModel
doFillDurationNameItems()
Fill the duration namesString
getDisplayName()
JobProperty<?>
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
-
-
-
-
Method Detail
-
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
@NonNull public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<JobProperty<?>>
-
doFillDurationNameItems
public ListBoxModel doFillDurationNameItems()
Fill the duration names- Returns:
- the duration names.
-
doCheckCount
public FormValidation doCheckCount(@QueryParameter int value, @QueryParameter String durationName)
Check the count- Parameters:
value
- the count.durationName
- the duration name.- Returns:
- the form validation.
-
-