@Extension public static class GlobalTextareaChoiceListProvider.DescriptorImpl extends ChoiceListProviderDescriptor
| Constructor and Description |
|---|
DescriptorImpl()
Restore from the global configuration
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
Store the parameters specified in the System Configuration page.
|
hudson.util.ListBoxModel |
doFillDefaultChoiceItems(String name) |
hudson.util.ListBoxModel |
doFillNameItems()
Returns a list of the names of the available choice set.
|
List<String> |
getChoiceList(String name)
Retrieve the set of choices entry by the name.
|
GlobalTextareaChoiceListEntry |
getChoiceListEntry(String name)
Retrieve the set of choices entry by the name.
|
List<GlobalTextareaChoiceListEntry> |
getChoiceListEntryList()
The list of available sets of choices.
|
String |
getDisplayName()
the display name shown in the dropdown to select a choice provider.
|
String |
getNoDefaultChoice() |
void |
setChoiceListEntryList(List<GlobalTextareaChoiceListEntry> choiceListEntryList)
Set a list of available sets of choices.
|
getGlobalConfigPage, getGlobalConfigPageForChoiceListProvider, isEnabledByDefaultaddHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMappublic List<GlobalTextareaChoiceListEntry> getChoiceListEntryList()
public void setChoiceListEntryList(List<GlobalTextareaChoiceListEntry> choiceListEntryList)
choiceListEntryList - a list of GlobalTextareaChoiceListEntrypublic hudson.util.ListBoxModel doFillNameItems()
public hudson.util.ListBoxModel doFillDefaultChoiceItems(@QueryParameter
String name)
public String getNoDefaultChoice()
public GlobalTextareaChoiceListEntry getChoiceListEntry(String name)
name - public List<String> getChoiceList(String name)
name - public String getDisplayName()
getDisplayName in class hudson.model.Descriptor<ChoiceListProvider>Descriptor.getDisplayName()public boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
throws hudson.model.Descriptor.FormException
configure in class hudson.model.Descriptor<ChoiceListProvider>req - formData - FormExceptionhudson.model.Descriptor.FormExceptionDescriptor.configure(org.kohsuke.stapler.StaplerRequest, net.sf.json.JSONObject)Copyright © 2016–2021. All rights reserved.