jp.ikedam.jenkins.plugins.extensible_choice_parameter
クラス AddEditedChoiceListProvider

java.lang.Object
  上位を拡張 hudson.model.AbstractDescribableImpl<ChoiceListProvider>
      上位を拡張 jp.ikedam.jenkins.plugins.extensible_choice_parameter.ChoiceListProvider
          上位を拡張 jp.ikedam.jenkins.plugins.extensible_choice_parameter.AddEditedChoiceListProvider
すべての実装されたインタフェース:
hudson.ExtensionPoint, hudson.model.Describable<ChoiceListProvider>
直系の既知のサブクラス:
GlobalTextareaChoiceListProvider, TextareaChoiceListProvider

public abstract class AddEditedChoiceListProvider
extends ChoiceListProvider

ChoiceListProvider that can add edited value.


入れ子のクラスの概要
static class AddEditedChoiceListProvider.WhenToAdd
          Used to Specify when to add a edited value
 
インタフェース hudson.ExtensionPoint から継承された入れ子のクラス/インタフェース
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
コンストラクタの概要
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
 
クラス jp.ikedam.jenkins.plugins.extensible_choice_parameter.ChoiceListProvider から継承されたメソッド
all, getChoiceList, getDefaultChoice
 
クラス hudson.model.AbstractDescribableImpl から継承されたメソッド
getDescriptor
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

AddEditedChoiceListProvider

public AddEditedChoiceListProvider(boolean addEditedValue,
                                   AddEditedChoiceListProvider.WhenToAdd whenToAdd)
Constructor

パラメータ:
whenToAdd - when to add a edited value.
メソッドの詳細

getWhenToAdd

public AddEditedChoiceListProvider.WhenToAdd getWhenToAdd()
Returns when to add a edited value. null stands for no adding.

戻り値:
when to add a edited value

isAddEditedValue

public boolean isAddEditedValue()
Returns whether to add edited value.

戻り値:
whether to add edited value

onBuildCompletedWithValue

public void onBuildCompletedWithValue(hudson.model.AbstractBuild<?,?> build,
                                      ExtensibleChoiceParameterDefinition def,
                                      String value)
Called when a build is completed Call addEditedValue() if needed

オーバーライド:
クラス ChoiceListProvider 内の onBuildCompletedWithValue
パラメータ:
build - the build with which this choice provider is used.
def - the parameter definition the value specified
value - the value specified.
関連項目:
ChoiceListProvider.onBuildCompletedWithValue(hudson.model.AbstractBuild, jp.ikedam.jenkins.plugins.extensible_choice_parameter.ExtensibleChoiceParameterDefinition, java.lang.String)

onBuildTriggeredWithValue

public void onBuildTriggeredWithValue(hudson.model.AbstractProject<?,?> job,
                                      ExtensibleChoiceParameterDefinition def,
                                      String value)
Called when a build is triggered Call addEditedValue() if needed

オーバーライド:
クラス ChoiceListProvider 内の onBuildTriggeredWithValue
パラメータ:
job - the job with which this choice provider is used.
def - the parameter definition the value specified
value - the value specified.
関連項目:
ChoiceListProvider.onBuildTriggeredWithValue(hudson.model.AbstractProject, jp.ikedam.jenkins.plugins.extensible_choice_parameter.ExtensibleChoiceParameterDefinition, java.lang.String)

addEditedValue

protected abstract void addEditedValue(hudson.model.AbstractProject<?,?> project,
                                       ExtensibleChoiceParameterDefinition def,
                                       String value)
Called to add a edited value to the choice list.

パラメータ:
project -
def -
value -


Copyright © 2004-2015. All Rights Reserved.