Class MavenToolchainsConfig.MavenToolchainsConfigProvider
java.lang.Object
hudson.model.Descriptor<Config>
org.jenkinsci.lib.configprovider.ConfigProvider
org.jenkinsci.lib.configprovider.AbstractConfigProviderImpl
org.jenkinsci.plugins.configfiles.maven.MavenToolchainsConfig.MavenToolchainsConfigProvider
- All Implemented Interfaces:
ExtensionPoint
,Saveable
,OnMaster
- Enclosing class:
- MavenToolchainsConfig
@Extension(ordinal=180.0)
public static class MavenToolchainsConfig.MavenToolchainsConfigProvider
extends AbstractConfigProviderImpl
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields inherited from class org.jenkinsci.lib.configprovider.AbstractConfigProviderImpl
configs
Fields inherited from class hudson.model.Descriptor
clazz
-
Constructor Summary
-
Method Summary
Methods inherited from class org.jenkinsci.lib.configprovider.AbstractConfigProviderImpl
clearOldDataStorage, convert, getConfigs, getConfigXml, getProviderId, load, save
Methods inherited from class org.jenkinsci.lib.configprovider.ConfigProvider
all, configExists, getAllConfigs, getByIdOrNull, getConfigById, getSensitiveContentForMasking, newConfig, newConfig, remove, save, supplyContent, supportsFolder
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, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, self, toArray, toList, toMap
-
Constructor Details
-
MavenToolchainsConfigProvider
public MavenToolchainsConfigProvider()
-
-
Method Details
-
getContentType
Description copied from class:ConfigProvider
The content type of the configs this provider manages. e.g. can be used to display the content in the UI (editor).- Specified by:
getContentType
in classConfigProvider
- Returns:
- the type.
null
if no specific formatting should be supported.
-
getDisplayName
- Overrides:
getDisplayName
in classDescriptor<Config>
-
getXmlFileName
- Overrides:
getXmlFileName
in classAbstractConfigProviderImpl
-
newConfig
Description copied from class:ConfigProvider
Returns a newConfig
object.- Overrides:
newConfig
in classConfigProvider
- Parameters:
id
- desired id- Returns:
- the created configuration
-