jp.ikedam.jenkins.plugins.extensible_choice_parameter
クラス GlobalTextareaChoiceListProvider.DescriptorImpl

java.lang.Object
  上位を拡張 hudson.model.Descriptor<ChoiceListProvider>
      上位を拡張 jp.ikedam.jenkins.plugins.extensible_choice_parameter.ChoiceListProviderDescriptor
          上位を拡張 jp.ikedam.jenkins.plugins.extensible_choice_parameter.GlobalTextareaChoiceListProvider.DescriptorImpl
すべての実装されたインタフェース:
hudson.model.Saveable
含まれているクラス:
GlobalTextareaChoiceListProvider

@Extension
public static class GlobalTextareaChoiceListProvider.DescriptorImpl
extends ChoiceListProviderDescriptor

The internal class to work with views. Also manage the global configuration. 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.
global.jelly
Shown as a part of the System Configuration page. Call config.jelly of GlobalTextareaChoiceListEntry, for each set of choices.


入れ子のクラスの概要
 
クラス hudson.model.Descriptor から継承された入れ子のクラス/インタフェース
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType, hudson.model.Descriptor.Self
 
フィールドの概要
 
クラス hudson.model.Descriptor から継承されたフィールド
clazz
 
インタフェース hudson.model.Saveable から継承されたフィールド
NOOP
 
コンストラクタの概要
GlobalTextareaChoiceListProvider.DescriptorImpl()
          Restore from the global configuration
 
メソッドの概要
 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.
 void setChoiceListEntryList(List<GlobalTextareaChoiceListEntry> choiceListEntryList)
          Set a list of available sets of choices.
 
クラス jp.ikedam.jenkins.plugins.extensible_choice_parameter.ChoiceListProviderDescriptor から継承されたメソッド
getGlobalConfigPage, getGlobalConfigPageForChoiceListProvider, isEnabledByDefault
 
クラス hudson.model.Descriptor から継承されたメソッド
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckUrl, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

GlobalTextareaChoiceListProvider.DescriptorImpl

public GlobalTextareaChoiceListProvider.DescriptorImpl()
Restore from the global configuration

メソッドの詳細

getChoiceListEntryList

public List<GlobalTextareaChoiceListEntry> getChoiceListEntryList()
The list of available sets of choices.

戻り値:
the list of GlobalTextareaChoiceListEntry

setChoiceListEntryList

public void setChoiceListEntryList(List<GlobalTextareaChoiceListEntry> choiceListEntryList)
Set a list of available sets of choices.

パラメータ:
choiceListEntryList - a list of GlobalTextareaChoiceListEntry

doFillNameItems

public hudson.util.ListBoxModel doFillNameItems()
Returns a list of the names of the available choice set. Used in dropdown field of a job configuration page.

戻り値:
a list of the names of the available choice set

doFillDefaultChoiceItems

public hudson.util.ListBoxModel doFillDefaultChoiceItems(@QueryParameter
                                                         String name)

getChoiceListEntry

public GlobalTextareaChoiceListEntry getChoiceListEntry(String name)
Retrieve the set of choices entry by the name. If multiple candidates exists, returns the first one.

パラメータ:
name -
戻り値:
the set of choices.

getChoiceList

public List<String> getChoiceList(String name)
Retrieve the set of choices entry by the name. if no entry matches, return empty list.

パラメータ:
name -
戻り値:
the list of choices. never null.

getDisplayName

public String getDisplayName()
the display name shown in the dropdown to select a choice provider.

定義:
クラス hudson.model.Descriptor<ChoiceListProvider> 内の getDisplayName
戻り値:
display name
関連項目:
Descriptor.getDisplayName()

configure

public boolean configure(org.kohsuke.stapler.StaplerRequest req,
                         net.sf.json.JSONObject formData)
                  throws hudson.model.Descriptor.FormException
Store the parameters specified in the System Configuration page.

オーバーライド:
クラス hudson.model.Descriptor<ChoiceListProvider> 内の configure
パラメータ:
req -
formData -
戻り値:
whether succeeded to store.
例外:
FormException
hudson.model.Descriptor.FormException
関連項目:
Descriptor.configure(org.kohsuke.stapler.StaplerRequest, net.sf.json.JSONObject)


Copyright © 2004-2015. All Rights Reserved.