public abstract class AddEditedChoiceListProvider extends ChoiceListProvider
| 修飾子とタイプ | クラスと説明 |
|---|---|
static class |
AddEditedChoiceListProvider.WhenToAdd
Used to Specify when to add a edited value
|
| コンストラクタと説明 |
|---|
AddEditedChoiceListProvider(boolean addEditedValue,
AddEditedChoiceListProvider.WhenToAdd whenToAdd)
Constructor
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected abstract void |
addEditedValue(hudson.model.AbstractProject<?,?> project,
ExtensibleChoiceParameterDefinition def,
String value)
Called to add a edited value to the choice list.
|
AddEditedChoiceListProvider.WhenToAdd |
getWhenToAdd()
Returns when to add a edited value.
|
boolean |
isAddEditedValue()
Returns whether to add edited value.
|
void |
onBuildCompletedWithValue(hudson.model.AbstractBuild<?,?> build,
ExtensibleChoiceParameterDefinition def,
String value)
Called when a build is completed
Call addEditedValue() if needed
|
void |
onBuildTriggeredWithValue(hudson.model.AbstractProject<?,?> job,
ExtensibleChoiceParameterDefinition def,
String value)
Called when a build is triggered
Call addEditedValue() if needed
|
all, getChoiceList, getDefaultChoicepublic AddEditedChoiceListProvider(boolean addEditedValue,
AddEditedChoiceListProvider.WhenToAdd whenToAdd)
whenToAdd - when to add a edited value.public AddEditedChoiceListProvider.WhenToAdd getWhenToAdd()
public boolean isAddEditedValue()
public void onBuildCompletedWithValue(hudson.model.AbstractBuild<?,?> build,
ExtensibleChoiceParameterDefinition def,
String value)
onBuildCompletedWithValue クラス内 ChoiceListProviderbuild - the build with which this choice provider is used.def - the parameter definition the value specifiedvalue - the value specified.ChoiceListProvider.onBuildCompletedWithValue(hudson.model.AbstractBuild, jp.ikedam.jenkins.plugins.extensible_choice_parameter.ExtensibleChoiceParameterDefinition, java.lang.String)public void onBuildTriggeredWithValue(hudson.model.AbstractProject<?,?> job,
ExtensibleChoiceParameterDefinition def,
String value)
onBuildTriggeredWithValue クラス内 ChoiceListProviderjob - the job with which this choice provider is used.def - the parameter definition the value specifiedvalue - the value specified.ChoiceListProvider.onBuildTriggeredWithValue(hudson.model.AbstractProject, jp.ikedam.jenkins.plugins.extensible_choice_parameter.ExtensibleChoiceParameterDefinition, java.lang.String)protected abstract void addEditedValue(hudson.model.AbstractProject<?,?> project,
ExtensibleChoiceParameterDefinition def,
String value)
project - def - value - Copyright © 2004-2013. All Rights Reserved.