|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objecthudson.model.AbstractDescribableImpl<ChoiceListProvider>
jp.ikedam.jenkins.plugins.extensible_choice_parameter.ChoiceListProvider
jp.ikedam.jenkins.plugins.extensible_choice_parameter.SystemGroovyChoiceListProvider
public class SystemGroovyChoiceListProvider
A choice provider whose choices are determined by a Groovy script.
| 入れ子のクラスの概要 | |
|---|---|
static class |
SystemGroovyChoiceListProvider.DescriptorImpl
The internal class to work with views. |
| インタフェース hudson.ExtensionPoint から継承された入れ子のクラス/インタフェース |
|---|
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| コンストラクタの概要 | |
|---|---|
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)
|
| クラス jp.ikedam.jenkins.plugins.extensible_choice_parameter.ChoiceListProvider から継承されたメソッド |
|---|
all, onBuildCompletedWithValue, onBuildTriggeredWithValue |
| クラス hudson.model.AbstractDescribableImpl から継承されたメソッド |
|---|
getDescriptor |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
@DataBoundConstructor
public SystemGroovyChoiceListProvider(String scriptText,
String defaultChoice,
boolean usePredefinedVariables)
scriptText - the text where choices are written in each line.defaultChoice - usePredefinedVariables -
public SystemGroovyChoiceListProvider(String scriptText,
String defaultChoice)
| メソッドの詳細 |
|---|
public List<String> getChoiceList()
ChoiceListProvider 内の getChoiceListChoiceListProvider.getChoiceList()public String getScriptText()
public String getDefaultChoice()
ChoiceListProvider 内の getDefaultChoiceChoiceListProvider.getDefaultChoice()public boolean isUsePredefinedVariables()
protected void setProject(hudson.model.AbstractProject<?,?> project)
project - protected hudson.model.AbstractProject<?,?> getProject()
isUsePredefinedVariables() is true.
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||