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

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

@Extension
public static class ExtensibleChoiceParameterDefinition.DescriptorImpl
extends hudson.model.ParameterDefinition.ParameterDescriptor

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.
index.jelly
shown when a user launches a build, and specifies parameters of the build.


入れ子のクラスの概要
 
クラス hudson.model.Descriptor から継承された入れ子のクラス/インタフェース
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType, hudson.model.Descriptor.Self
 
フィールドの概要
 
クラス hudson.model.Descriptor から継承されたフィールド
clazz
 
インタフェース hudson.model.Saveable から継承されたフィールド
NOOP
 
コンストラクタの概要
ExtensibleChoiceParameterDefinition.DescriptorImpl()
           
 
メソッドの概要
 boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json)
           
 hudson.util.FormValidation doCheckName(String name)
           
protected  Map<String,Boolean> getChoiceListEnabledMap()
           
 hudson.DescriptorExtensionList<ChoiceListProvider,hudson.model.Descriptor<ChoiceListProvider>> getChoiceListProviderList()
          Returns all the available methods to provide choices.
 String getDisplayName()
          Returns the string to be shown in a job configuration page, in the dropdown of "Add Parameter".
 List<hudson.model.Descriptor<ChoiceListProvider>> getEnabledChoiceListProviderList()
          Returns all the available methods to provide choices that are enabled in the global configuration.
 boolean isProviderEnabled(hudson.model.Descriptor<?> d)
           
 ExtensibleChoiceParameterDefinition newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
          Create a new instance of SystemGroovyChoiceListProvider from user inputs.
protected  void setChoiceListEnabledMap(Map<String,Boolean> choiceListEnabledMap)
           
 
クラス hudson.model.ParameterDefinition.ParameterDescriptor から継承されたメソッド
getValuePage
 
クラス hudson.model.Descriptor から継承されたメソッド
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, 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, toMap
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

ExtensibleChoiceParameterDefinition.DescriptorImpl

public ExtensibleChoiceParameterDefinition.DescriptorImpl()
メソッドの詳細

setChoiceListEnabledMap

protected void setChoiceListEnabledMap(Map<String,Boolean> choiceListEnabledMap)

getChoiceListEnabledMap

protected Map<String,Boolean> getChoiceListEnabledMap()

configure

public boolean configure(org.kohsuke.stapler.StaplerRequest req,
                         net.sf.json.JSONObject json)
                  throws hudson.model.Descriptor.FormException
オーバーライド:
クラス hudson.model.Descriptor<hudson.model.ParameterDefinition> 内の configure
例外:
hudson.model.Descriptor.FormException

isProviderEnabled

public boolean isProviderEnabled(hudson.model.Descriptor<?> d)

newInstance

public ExtensibleChoiceParameterDefinition newInstance(org.kohsuke.stapler.StaplerRequest req,
                                                       net.sf.json.JSONObject formData)
                                                throws hudson.model.Descriptor.FormException
Create a new instance of SystemGroovyChoiceListProvider from user inputs.

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

getDisplayName

public String getDisplayName()
Returns the string to be shown in a job configuration page, in the dropdown of "Add Parameter".

オーバーライド:
クラス hudson.model.ParameterDefinition.ParameterDescriptor 内の getDisplayName
戻り値:
a name of this parameter type.
関連項目:
ParameterDefinition.ParameterDescriptor.getDisplayName()

getChoiceListProviderList

public hudson.DescriptorExtensionList<ChoiceListProvider,hudson.model.Descriptor<ChoiceListProvider>> getChoiceListProviderList()
Returns all the available methods to provide choices.

戻り値:
DescriptorExtensionList of ChoiceListProvider subclasses.

getEnabledChoiceListProviderList

public List<hudson.model.Descriptor<ChoiceListProvider>> getEnabledChoiceListProviderList()
Returns all the available methods to provide choices that are enabled in the global configuration. Used for showing dropdown for users to select a choice provider.

戻り値:
DescriptorExtensionList of ChoiceListProvider subclasses.

doCheckName

public hudson.util.FormValidation doCheckName(@QueryParameter
                                              String name)


Copyright © 2004-2015. All Rights Reserved.