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

java.lang.Object
  上位を拡張 hudson.model.AbstractDescribableImpl<ChoiceListProvider>
      上位を拡張 jp.ikedam.jenkins.plugins.extensible_choice_parameter.ChoiceListProvider
          上位を拡張 jp.ikedam.jenkins.plugins.extensible_choice_parameter.AddEditedChoiceListProvider
              上位を拡張 jp.ikedam.jenkins.plugins.extensible_choice_parameter.GlobalTextareaChoiceListProvider
すべての実装されたインタフェース:
hudson.ExtensionPoint, hudson.model.Describable<ChoiceListProvider>, Serializable

public class GlobalTextareaChoiceListProvider
extends AddEditedChoiceListProvider
implements Serializable

A choice provider whose choices are defined in the System Configuration page, and can be refereed from all jobs.

関連項目:
直列化された形式

入れ子のクラスの概要
static class GlobalTextareaChoiceListProvider.DescriptorImpl
          The internal class to work with views.
 
クラス jp.ikedam.jenkins.plugins.extensible_choice_parameter.AddEditedChoiceListProvider から継承された入れ子のクラス/インタフェース
AddEditedChoiceListProvider.WhenToAdd
 
インタフェース hudson.ExtensionPoint から継承された入れ子のクラス/インタフェース
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
コンストラクタの概要
GlobalTextareaChoiceListProvider(String name, String defaultChoice, boolean addEditedValue, AddEditedChoiceListProvider.WhenToAdd whenToAdd)
          Constructor instantiating with parameters in the configuration page.
 
メソッドの概要
protected  void addEditedValue(hudson.model.AbstractProject<?,?> project, ExtensibleChoiceParameterDefinition def, String value)
          Called to add a edited value to the choice list.
 List<String> getChoiceList()
          Returns the choices available as a parameter value.
 String getDefaultChoice()
          Returns the default choice.
 String getName()
          Returns the name of the set of choice, specified by a user.
 
クラス jp.ikedam.jenkins.plugins.extensible_choice_parameter.AddEditedChoiceListProvider から継承されたメソッド
getWhenToAdd, isAddEditedValue, onBuildCompletedWithValue, onBuildTriggeredWithValue
 
クラス jp.ikedam.jenkins.plugins.extensible_choice_parameter.ChoiceListProvider から継承されたメソッド
all
 
クラス hudson.model.AbstractDescribableImpl から継承されたメソッド
getDescriptor
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

GlobalTextareaChoiceListProvider

@DataBoundConstructor
public GlobalTextareaChoiceListProvider(String name,
                                                             String defaultChoice,
                                                             boolean addEditedValue,
                                                             AddEditedChoiceListProvider.WhenToAdd whenToAdd)
Constructor instantiating with parameters in the configuration page. When instantiating from the saved configuration, the object is directly serialized with XStream, and no constructor is used.

パラメータ:
name - the name of the set of choices.
defaultChoice - the initial selected value.
addEditedValue -
whenToAdd -
メソッドの詳細

getName

public String getName()
Returns the name of the set of choice, specified by a user.

戻り値:
the name of the set of choice

getDefaultChoice

public String getDefaultChoice()
Returns the default choice.

オーバーライド:
クラス ChoiceListProvider 内の getDefaultChoice
戻り値:
the default choice
関連項目:
ChoiceListProvider.getDefaultChoice()

getChoiceList

public List<String> getChoiceList()
Returns the choices available as a parameter value.

定義:
クラス ChoiceListProvider 内の getChoiceList
戻り値:
choices
関連項目:
ChoiceListProvider.getChoiceList()

addEditedValue

protected void addEditedValue(hudson.model.AbstractProject<?,?> project,
                              ExtensibleChoiceParameterDefinition def,
                              String value)
Called to add a edited value to the choice list.

定義:
クラス AddEditedChoiceListProvider 内の addEditedValue
パラメータ:
project -
def -
value -
関連項目:
AddEditedChoiceListProvider.addEditedValue(hudson.model.AbstractProject, jp.ikedam.jenkins.plugins.extensible_choice_parameter.ExtensibleChoiceParameterDefinition, java.lang.String)


Copyright © 2004-2015. All Rights Reserved.