Class ChoiceListProviderDescriptor
java.lang.Object
hudson.model.Descriptor<ChoiceListProvider>
jp.ikedam.jenkins.plugins.extensible_choice_parameter.ChoiceListProviderDescriptor
- Direct Known Subclasses:
GlobalTextareaChoiceListProvider.DescriptorImpl
Descriptor for
ChoiceListProvider
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
ConstructorsModifierConstructorDescriptionprotected
protected
ChoiceListProviderDescriptor
(Class<? extends ChoiceListProvider> clazz) -
Method Summary
Modifier and TypeMethodDescriptionDisables the global configuration page and replaces withgetGlobalConfigPageForChoiceListProvider()
boolean
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, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, configure, doHelp, 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, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
ChoiceListProviderDescriptor
protected ChoiceListProviderDescriptor() -
ChoiceListProviderDescriptor
- Parameters:
clazz
-
-
-
Method Details
-
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
Disables the global configuration page and replaces withgetGlobalConfigPageForChoiceListProvider()
- Overrides:
getGlobalConfigPage
in classDescriptor<ChoiceListProvider>
- Returns:
- false
- See Also:
-
getGlobalConfigPageForChoiceListProvider
- Returns:
- a view page displayed in the system configuration page under the section of
ExtensibleChoiceParameterDefinition
-