public class SystemGroovyChoiceListProvider extends ChoiceListProvider implements Serializable
| 修飾子とタイプ | クラスと説明 |
|---|---|
static class |
SystemGroovyChoiceListProvider.DescriptorImpl
The internal class to work with views.
|
| コンストラクタと説明 |
|---|
SystemGroovyChoiceListProvider(String scriptText,
String defaultChoice) |
SystemGroovyChoiceListProvider(String scriptText,
String defaultChoice,
boolean usePredefinedVariables)
Constructor instantiating with parameters in the configuration page.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
List<String> |
getChoiceList()
Returns the list of choices the user specified in the job configuration page.
|
String |
getDefaultChoice()
Returns the default choice.
|
protected hudson.model.AbstractProject<?,?> |
getProject()
Return the project where this is configured.
|
String |
getScriptText()
The list of choices, joined into a string.
|
boolean |
isUsePredefinedVariables() |
protected void |
setProject(hudson.model.AbstractProject<?,?> project) |
all, onBuildCompletedWithValue, onBuildTriggeredWithValue@DataBoundConstructor public SystemGroovyChoiceListProvider(String scriptText, String defaultChoice, boolean usePredefinedVariables)
scriptText - the text where choices are written in each line.defaultChoice - usePredefinedVariables - public List<String> getChoiceList()
getChoiceList クラス内 ChoiceListProviderChoiceListProvider.getChoiceList()public String getScriptText()
public String getDefaultChoice()
getDefaultChoice クラス内 ChoiceListProviderChoiceListProvider.getDefaultChoice()public boolean isUsePredefinedVariables()
protected void setProject(hudson.model.AbstractProject<?,?> project)
project - protected hudson.model.AbstractProject<?,?> getProject()
isUsePredefinedVariables() is true.Copyright © 2004-2013. All Rights Reserved.