Class RequiredResourcesProperty.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<JobProperty<?>>
hudson.model.JobPropertyDescriptor
org.jenkins.plugins.lockableresources.RequiredResourcesProperty.DescriptorImpl
- Enclosing class:
- RequiredResourcesProperty
@Extension
public static class RequiredResourcesProperty.DescriptorImpl
extends JobPropertyDescriptor
-
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 TypeMethodDescriptiondoAutoCompleteLabelName
(String value, Item item) static AutoCompletionCandidates
doAutoCompleteResourceNames
(String value, Item item) doCheckLabelName
(String value, String resourceNames, boolean script, Item item) doCheckResourceNames
(String value, String labelName, boolean script, Item item) doCheckResourceNumber
(String value, String resourceNames, String labelName, String resourceMatchScript, Item item) boolean
isApplicable
(Class<? extends Job> jobType) newInstance
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) Methods inherited from class hudson.model.JobPropertyDescriptor
all, getPropertyDescriptors
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
-
getDisplayName
- Overrides:
getDisplayName
in classDescriptor<JobProperty<?>>
-
isApplicable
- Overrides:
isApplicable
in classJobPropertyDescriptor
-
newInstance
public RequiredResourcesProperty newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws Descriptor.FormException - Overrides:
newInstance
in classJobPropertyDescriptor
- Throws:
Descriptor.FormException
-
doCheckResourceNames
public FormValidation doCheckResourceNames(@QueryParameter String value, @QueryParameter String labelName, @QueryParameter boolean script, @AncestorInPath Item item) -
doCheckLabelName
public FormValidation doCheckLabelName(@QueryParameter String value, @QueryParameter String resourceNames, @QueryParameter boolean script, @AncestorInPath Item item) -
doCheckResourceNumber
-
doAutoCompleteLabelName
public AutoCompletionCandidates doAutoCompleteLabelName(@QueryParameter String value, @AncestorInPath Item item) -
doAutoCompleteResourceNames
public static AutoCompletionCandidates doAutoCompleteResourceNames(@QueryParameter String value, @AncestorInPath Item item)
-