public class GlobalTextareaChoiceListProvider extends AddEditedChoiceListProvider
| Modifier and Type | Class and Description |
|---|---|
static class |
GlobalTextareaChoiceListProvider.DescriptorImpl
The internal class to work with views.
|
AddEditedChoiceListProvider.WhenToAdd| Constructor and Description |
|---|
GlobalTextareaChoiceListProvider(String name,
String defaultChoice,
boolean addEditedValue,
AddEditedChoiceListProvider.WhenToAdd whenToAdd)
Constructor instantiating with parameters in the configuration page.
|
| Modifier and Type | Method and Description |
|---|---|
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 in class ChoiceListProviderChoiceListProvider.getDefaultChoice()public List<String> getChoiceList()
getChoiceList in class ChoiceListProviderChoiceListProvider.getChoiceList()protected void addEditedValue(hudson.model.AbstractProject<?,?> project,
ExtensibleChoiceParameterDefinition def,
String value)
addEditedValue in class AddEditedChoiceListProviderproject - def - value - AddEditedChoiceListProvider.addEditedValue(hudson.model.AbstractProject, jp.ikedam.jenkins.plugins.extensible_choice_parameter.ExtensibleChoiceParameterDefinition, java.lang.String)Copyright © 2016–2018. All rights reserved.