Class TextareaChoiceListProvider.DescriptorImpl

java.lang.Object
hudson.model.Descriptor<ChoiceListProvider>
jp.ikedam.jenkins.plugins.extensible_choice_parameter.TextareaChoiceListProvider.DescriptorImpl
All Implemented Interfaces:
Saveable, Loadable, OnMaster
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.
  • Constructor Details

    • DescriptorImpl

      public DescriptorImpl()
  • Method Details

    • getDisplayName

      public String getDisplayName()
      the display name shown in the dropdown to select a choice provider.
      Overrides:
      getDisplayName in class Descriptor<ChoiceListProvider>
      Returns:
      display name
      See Also:
    • doFillDefaultChoiceItems

      public ListBoxModel doFillDefaultChoiceItems(@QueryParameter String choiceListText)
      Returns the selection of a default choice.
      Parameters:
      choiceListText -
      Returns:
      the selection of a default choice
    • getNoDefaultChoice

      public String getNoDefaultChoice()
      Returns:
      the special value used for "No default choice" (use the top most)