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

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

public abstract class ChoiceListProvider
extends hudson.model.AbstractDescribableImpl<ChoiceListProvider>
implements hudson.ExtensionPoint

The abstract base class of modules provides choices. Create a new choice provider in following steps:

  1. Define a new class derived from ChoiceListProvider
  2. Override getChoiceList(), which returns the choices.
  3. Define the internal public static class named DescriptorImpl, derived from Descriptor<ChoiceListProvider>
  4. annotate the DescriptorImpl with Extension


入れ子のクラスの概要
 
インタフェース hudson.ExtensionPoint から継承された入れ子のクラス/インタフェース
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
コンストラクタの概要
ChoiceListProvider()
           
 
メソッドの概要
static hudson.DescriptorExtensionList<ChoiceListProvider,hudson.model.Descriptor<ChoiceListProvider>> all()
          Returns all the ChoiceListProvider subclass whose DescriptorImpl is annotated with Extension.
abstract  List<String> getChoiceList()
          Returns the choices.
 String getDefaultChoice()
          Returns the default choice value.
 
クラス hudson.model.AbstractDescribableImpl から継承されたメソッド
getDescriptor
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

ChoiceListProvider

public ChoiceListProvider()
メソッドの詳細

getChoiceList

public abstract List<String> getChoiceList()
Returns the choices.

戻り値:
the choices list.

getDefaultChoice

public String getDefaultChoice()
Returns the default choice value. null indicates the first one is the default value.

戻り値:
the default choice value.

all

public static hudson.DescriptorExtensionList<ChoiceListProvider,hudson.model.Descriptor<ChoiceListProvider>> all()
Returns all the ChoiceListProvider subclass whose DescriptorImpl is annotated with Extension.

戻り値:
DescriptorExtensionList of ChoiceListProvider subclasses.


Copyright © 2004-2013. All Rights Reserved.