public class GlobalTextareaChoiceListEntry extends hudson.model.AbstractDescribableImpl<GlobalTextareaChoiceListEntry> implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
GlobalTextareaChoiceListEntry.DescriptorImpl
The internal class to work with views.
|
| Constructor and Description |
|---|
GlobalTextareaChoiceListEntry(String name,
String choiceListText,
boolean allowAddEditedValue)
Constructor instantiating with parameters in the configuration page.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addEditedValue(String value) |
boolean |
equals(Object o) |
List<String> |
getChoiceList()
The list of choices.
|
String |
getChoiceListText()
The list of choices, joined into a string.
|
String |
getName()
the name of this set of choices.
|
static Pattern |
getNamePattern() |
boolean |
isAllowAddEditedValue()
Return whether users can add a new value by building a job using this choice list.
|
boolean |
isValid()
Returns whether this object is configured correctly.
|
protected void |
setChoiceList(List<String> choiceList)
Set choiceList
|
String |
toString() |
@DataBoundConstructor public GlobalTextareaChoiceListEntry(String name, String choiceListText, boolean allowAddEditedValue)
name - the name of this set of choices.choiceListText - the text where choices are written in each line.allowAddEditedValue - whether users can add a new value by building a job using this choice list.public static Pattern getNamePattern()
public String getName()
public List<String> getChoiceList()
public String getChoiceListText()
protected void setChoiceList(List<String> choiceList)
choiceList - the choiceList to setpublic boolean isAllowAddEditedValue()
public boolean isValid()
public void addEditedValue(String value)
value - public boolean equals(Object o)
equals in class Objecto - Object.equals(java.lang.Object)public String toString()
toString in class ObjectObject.toString()Copyright © 2004-2015. All Rights Reserved.