public class GlobalTextareaChoiceListProvider extends AddEditedChoiceListProvider implements Serializable
| 修飾子とタイプ | クラスと説明 |
|---|---|
static class |
GlobalTextareaChoiceListProvider.DescriptorImpl
The internal class to work with views.
|
AddEditedChoiceListProvider.WhenToAdd| コンストラクタと説明 |
|---|
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.
|
getWhenToAdd, isAddEditedValue, onBuildCompletedWithValue, onBuildTriggeredWithValueall@DataBoundConstructor public GlobalTextareaChoiceListProvider(String name, String defaultChoice, boolean addEditedValue, AddEditedChoiceListProvider.WhenToAdd whenToAdd)
name - the name of the set of choices.defaultChoice - the initial selected value.addEditedValue - whenToAdd - public String getName()
public String getDefaultChoice()
getDefaultChoice クラス内 ChoiceListProviderChoiceListProvider.getDefaultChoice()public List<String> getChoiceList()
getChoiceList クラス内 ChoiceListProviderChoiceListProvider.getChoiceList()protected void addEditedValue(hudson.model.AbstractProject<?,?> project,
ExtensibleChoiceParameterDefinition def,
String value)
Copyright © 2004-2013. All Rights Reserved.