Class TextareaChoiceListProvider.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<ChoiceListProvider>
jp.ikedam.jenkins.plugins.extensible_choice_parameter.TextareaChoiceListProvider.DescriptorImpl
- Enclosing class:
- TextareaChoiceListProvider
@Extension
public static class TextareaChoiceListProvider.DescriptorImpl
extends Descriptor<ChoiceListProvider>
The internal class to work with views.
The following files are used (put in main/resource directory in the source tree).
- config.jelly
- Shown as a part of a job configuration page when this provider is selected. Provides additional configuration fields of a Extensible Choice.
-
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 -
Method Summary
Modifier and TypeMethodDescriptiondoFillDefaultChoiceItems
(String choiceListText) Returns the selection of a default choice.the display name shown in the dropdown to select a choice provider.Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, configure, doHelp, 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, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
getDisplayName
the display name shown in the dropdown to select a choice provider.- Overrides:
getDisplayName
in classDescriptor<ChoiceListProvider>
- Returns:
- display name
- See Also:
-
doFillDefaultChoiceItems
Returns the selection of a default choice.- Parameters:
choiceListText
-- Returns:
- the selection of a default choice
-
getNoDefaultChoice
- Returns:
- the special value used for "No default choice" (use the top most)
-