@Extension public static class SystemGroovyChoiceListProvider.DescriptorImpl extends hudson.model.Descriptor<ChoiceListProvider>
| Constructor and Description |
|---|
SystemGroovyChoiceListProvider.DescriptorImpl() |
| Modifier and Type | Method and Description |
|---|---|
hudson.util.ListBoxModel |
doFillDefaultChoiceItems(org.kohsuke.stapler.StaplerRequest req,
String scriptText,
boolean usePredefinedVariables)
Returns the selection of a default choice.
|
hudson.util.FormValidation |
doTest(org.kohsuke.stapler.StaplerRequest req,
String scriptText,
boolean usePredefinedVariables) |
String |
getDisplayName()
the display name shown in the dropdown to select a choice provider.
|
String |
getNoDefaultChoice() |
SystemGroovyChoiceListProvider |
newInstance(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
Create a new instance of
SystemGroovyChoiceListProvider from user inputs. |
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, getCheckUrl, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMappublic SystemGroovyChoiceListProvider.DescriptorImpl()
public SystemGroovyChoiceListProvider 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<ChoiceListProvider>req - formData - hudson.model.Descriptor.FormExceptionDescriptor.newInstance(org.kohsuke.stapler.StaplerRequest, net.sf.json.JSONObject)public String getDisplayName()
getDisplayName in class hudson.model.Descriptor<ChoiceListProvider>Descriptor.getDisplayName()public hudson.util.ListBoxModel doFillDefaultChoiceItems(org.kohsuke.stapler.StaplerRequest req,
@QueryParameter
String scriptText,
@QueryParameter
boolean usePredefinedVariables)
req - null passed in tests.scriptText - public String getNoDefaultChoice()
public hudson.util.FormValidation doTest(org.kohsuke.stapler.StaplerRequest req,
@QueryParameter
String scriptText,
@QueryParameter
boolean usePredefinedVariables)
Copyright © 2016–2017. All rights reserved.