Class ChoiceListProviderDescriptor
- java.lang.Object
-
- hudson.model.Descriptor<ChoiceListProvider>
-
- jp.ikedam.jenkins.plugins.extensible_choice_parameter.ChoiceListProviderDescriptor
-
- Direct Known Subclasses:
GlobalTextareaChoiceListProvider.DescriptorImpl
public abstract class ChoiceListProviderDescriptor extends Descriptor<ChoiceListProvider>
Descriptor forChoiceListProvider
s.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
-
Field Summary
-
Fields inherited from class hudson.model.Descriptor
clazz
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ChoiceListProviderDescriptor()
protected
ChoiceListProviderDescriptor(Class<? extends ChoiceListProvider> clazz)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getGlobalConfigPage()
Disables the global configuration page and replaces withgetGlobalConfigPageForChoiceListProvider()
String
getGlobalConfigPageForChoiceListProvider()
boolean
isEnabledByDefault()
Returns whether this provider should be enabled by default (that is, just after that provider is installed).-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Constructor Detail
-
ChoiceListProviderDescriptor
protected ChoiceListProviderDescriptor()
-
ChoiceListProviderDescriptor
protected ChoiceListProviderDescriptor(Class<? extends ChoiceListProvider> clazz)
- Parameters:
clazz
-
-
-
Method Detail
-
isEnabledByDefault
public boolean isEnabledByDefault()
Returns whether this provider should be enabled by default (that is, just after that provider is installed). Override this method and return false if you want to disable your provider and want administrators enable that explicitly.- Returns:
-
getGlobalConfigPage
public String getGlobalConfigPage()
Disables the global configuration page and replaces withgetGlobalConfigPageForChoiceListProvider()
- Overrides:
getGlobalConfigPage
in classDescriptor<ChoiceListProvider>
- Returns:
- false
- See Also:
Descriptor.getGlobalConfigPage()
-
getGlobalConfigPageForChoiceListProvider
public String getGlobalConfigPageForChoiceListProvider()
- Returns:
- a view page displayed in the system configuration page under the section of
ExtensibleChoiceParameterDefinition
-
-