jp.ikedam.jenkins.plugins.extensible_choice_parameter
クラス TextareaChoiceListProvider
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.TextareaChoiceListProvider
- すべての実装されたインタフェース:
- hudson.ExtensionPoint, hudson.model.Describable<ChoiceListProvider>, Serializable
public class TextareaChoiceListProvider
- extends AddEditedChoiceListProvider
- implements Serializable
A choice provider whose choices are defined as a text, like the build-in choice parameter.
- 関連項目:
- 直列化された形式
| インタフェース hudson.ExtensionPoint から継承された入れ子のクラス/インタフェース |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| クラス hudson.model.AbstractDescribableImpl から継承されたメソッド |
getDescriptor |
| クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextareaChoiceListProvider
@DataBoundConstructor
public TextareaChoiceListProvider(String choiceListText,
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.
- パラメータ:
choiceListText - the text where choices are written in each line.defaultChoice - addEditedValue - whenToAdd -
getChoiceList
public List<String> getChoiceList()
- Returns the list of choices the user specified in the job configuration page.
- 定義:
- クラス
ChoiceListProvider 内の getChoiceList
- 戻り値:
- the list of choices.
- 関連項目:
ChoiceListProvider.getChoiceList()
setChoiceList
protected void setChoiceList(List<String> choiceList)
- パラメータ:
choiceList - the choiceList to set
getChoiceListText
public String getChoiceListText()
- The list of choices, joined into a string.
Used for filling a field when the configuration page is shown.
- 戻り値:
- Joined choices.
getDefaultChoice
public String getDefaultChoice()
- Returns the default choice.
- オーバーライド:
- クラス
ChoiceListProvider 内の getDefaultChoice
- 戻り値:
- the default choice
- 関連項目:
ChoiceListProvider.getDefaultChoice()
addEditedValue
protected void addEditedValue(hudson.model.AbstractProject<?,?> project,
ExtensibleChoiceParameterDefinition def,
String value)
- クラス
AddEditedChoiceListProvider の記述:
- Called to add a edited value to the choice list.
- 定義:
- クラス
AddEditedChoiceListProvider 内の addEditedValue
Copyright © 2004-2015. All Rights Reserved.