|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objecthudson.model.ParameterDefinition
hudson.model.SimpleParameterDefinition
jp.ikedam.jenkins.plugins.extensible_choice_parameter.ExtensibleChoiceParameterDefinition
public class ExtensibleChoiceParameterDefinition
Provides a choice parameter whose choices can be extended using Extension Points.
| 入れ子のクラスの概要 | |
|---|---|
static class |
ExtensibleChoiceParameterDefinition.DescriptorImpl
The internal class to work with views. |
static class |
ExtensibleChoiceParameterDefinition.DescriptorVisibilityFilterImpl
|
| クラス hudson.model.ParameterDefinition から継承された入れ子のクラス/インタフェース |
|---|
hudson.model.ParameterDefinition.ParameterDescriptor |
| インタフェース hudson.ExtensionPoint から継承された入れ子のクラス/インタフェース |
|---|
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| フィールドの概要 |
|---|
| クラス hudson.model.ParameterDefinition から継承されたフィールド |
|---|
LIST |
| コンストラクタの概要 | |
|---|---|
ExtensibleChoiceParameterDefinition(String name,
ChoiceListProvider choiceListProvider,
boolean editable,
String description)
Constructor instantiating with parameters in the configuration page. |
|
| メソッドの概要 | |
|---|---|
hudson.model.ParameterValue |
createValue(org.kohsuke.stapler.StaplerRequest request,
net.sf.json.JSONObject jo)
Decide a value of this parameter from the user input. |
hudson.model.ParameterValue |
createValue(String value)
Decide a value of this parameter from the user input. |
protected hudson.model.ParameterValue |
createValueCommon(hudson.model.StringParameterValue value)
Test passed ParameterValue and return. |
List<String> |
getChoiceList()
Return choices available for this parameter. |
ChoiceListProvider |
getChoiceListProvider()
The choice provider the user specified. |
hudson.model.ParameterValue |
getDefaultParameterValue()
Returns the default value of this parameter. |
ChoiceListProvider |
getEnabledChoiceListProvider()
|
static Pattern |
getNamePattern()
推奨されていません。 |
boolean |
isEditable()
Is this parameter value can be set to a value not in the choices? |
| クラス hudson.model.SimpleParameterDefinition から継承されたメソッド |
|---|
createValue, createValue |
| クラス hudson.model.ParameterDefinition から継承されたメソッド |
|---|
all, copyWithDefaultValue, getDescription, getDescriptor, getName, getType |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
@DataBoundConstructor
public ExtensibleChoiceParameterDefinition(String name,
ChoiceListProvider choiceListProvider,
boolean editable,
String description)
name - the name of this parameter (used as a variable name).choiceListProvider - the choice providereditable - whether this parameter can be a value not in choices.description - the description of this parameter. Used only for the convenience of users.| メソッドの詳細 |
|---|
@Deprecated public static Pattern getNamePattern()
public boolean isEditable()
public ChoiceListProvider getChoiceListProvider()
public ChoiceListProvider getEnabledChoiceListProvider()
ExtensibleChoiceParameterDefinition.DescriptorImpl.isProviderEnabled(Descriptor)public List<String> getChoiceList()
protected hudson.model.ParameterValue createValueCommon(hudson.model.StringParameterValue value)
value - a value to test.
public hudson.model.ParameterValue createValue(org.kohsuke.stapler.StaplerRequest request,
net.sf.json.JSONObject jo)
hudson.model.ParameterDefinition 内の createValuerequest - jo - the user input
ParameterDefinition.createValue(org.kohsuke.stapler.StaplerRequest, net.sf.json.JSONObject)
public hudson.model.ParameterValue createValue(String value)
throws IllegalArgumentException
hudson.model.SimpleParameterDefinition 内の createValuevalue - the user input
IllegalArgumentException - The value is not in choices even the field is not editable.SimpleParameterDefinition.createValue(java.lang.String)public hudson.model.ParameterValue getDefaultParameterValue()
hudson.model.ParameterDefinition 内の getDefaultParameterValueParameterDefinition.getDefaultParameterValue()
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||