@Extension
public static class ExtensibleChoiceParameterDefinition.DescriptorImpl
extends hudson.model.ParameterDefinition.ParameterDescriptor
| Constructor and Description |
|---|
ExtensibleChoiceParameterDefinition.DescriptorImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json) |
hudson.util.FormValidation |
doCheckName(String name) |
protected Map<String,Boolean> |
getChoiceListEnabledMap() |
hudson.DescriptorExtensionList<ChoiceListProvider,hudson.model.Descriptor<ChoiceListProvider>> |
getChoiceListProviderList()
Returns all the available methods to provide choices.
|
String |
getDisplayName()
Returns the string to be shown in a job configuration page, in the dropdown of "Add Parameter".
|
List<hudson.model.Descriptor<ChoiceListProvider>> |
getEnabledChoiceListProviderList()
Returns all the available methods to provide choices that are enabled in the global configuration.
|
boolean |
isProviderEnabled(hudson.model.Descriptor<?> d) |
ExtensibleChoiceParameterDefinition |
newInstance(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
Create a new instance of
SystemGroovyChoiceListProvider from user inputs. |
protected void |
setChoiceListEnabledMap(Map<String,Boolean> choiceListEnabledMap) |
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMappublic ExtensibleChoiceParameterDefinition.DescriptorImpl()
protected void setChoiceListEnabledMap(Map<String,Boolean> choiceListEnabledMap)
public boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json)
throws hudson.model.Descriptor.FormException
configure in class hudson.model.Descriptor<hudson.model.ParameterDefinition>hudson.model.Descriptor.FormExceptionpublic boolean isProviderEnabled(hudson.model.Descriptor<?> d)
public ExtensibleChoiceParameterDefinition newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws hudson.model.Descriptor.FormException
SystemGroovyChoiceListProvider from user inputs.newInstance in class hudson.model.Descriptor<hudson.model.ParameterDefinition>req - formData - hudson.model.Descriptor.FormExceptionDescriptor.newInstance(org.kohsuke.stapler.StaplerRequest, net.sf.json.JSONObject)public String getDisplayName()
getDisplayName in class hudson.model.ParameterDefinition.ParameterDescriptorParameterDefinition.ParameterDescriptor.getDisplayName()public hudson.DescriptorExtensionList<ChoiceListProvider,hudson.model.Descriptor<ChoiceListProvider>> getChoiceListProviderList()
public List<hudson.model.Descriptor<ChoiceListProvider>> getEnabledChoiceListProviderList()
public hudson.util.FormValidation doCheckName(@QueryParameter
String name)
Copyright © 2016–2017. All rights reserved.