Class MavenSettingsConfig.MavenSettingsConfigProvider
- java.lang.Object
-
- hudson.model.Descriptor<Config>
-
- org.jenkinsci.lib.configprovider.ConfigProvider
-
- org.jenkinsci.lib.configprovider.AbstractConfigProviderImpl
-
- org.jenkinsci.plugins.configfiles.maven.AbstractMavenSettingsProvider
-
- org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig.MavenSettingsConfigProvider
-
- All Implemented Interfaces:
ExtensionPoint
,Saveable
,OnMaster
- Enclosing class:
- MavenSettingsConfig
@Extension(ordinal=190.0) public static class MavenSettingsConfig.MavenSettingsConfigProvider extends AbstractMavenSettingsProvider
-
-
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 Modifier and Type Field Description protected String
ID_PREFIX
-
Fields inherited from class org.jenkinsci.lib.configprovider.AbstractConfigProviderImpl
configs
-
Fields inherited from class hudson.model.Descriptor
clazz
-
-
Constructor Summary
Constructors Constructor Description MavenSettingsConfigProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContentType
getContentType()
The content type of the configs this provider manages.String
getDisplayName()
protected String
getXmlFileName()
Config
newConfig(String id)
Returns a newConfig
object.-
Methods inherited from class org.jenkinsci.plugins.configfiles.maven.AbstractMavenSettingsProvider
getSensitiveContentForMasking, loadTemplateContent, supplyContent
-
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, newConfig, newConfig, remove, save, 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
-
-
-
-
Field Detail
-
ID_PREFIX
protected transient String ID_PREFIX
-
-
Method Detail
-
getContentType
public ContentType 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).- Overrides:
getContentType
in classAbstractMavenSettingsProvider
- Returns:
- the type.
null
if no specific formatting should be supported.
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<Config>
-
newConfig
@NonNull public Config newConfig(@NonNull String id)
Description copied from class:ConfigProvider
Returns a newConfig
object.- Overrides:
newConfig
in classConfigProvider
- Parameters:
id
- desired id- Returns:
- the created configuration
-
getXmlFileName
protected String getXmlFileName()
- Overrides:
getXmlFileName
in classAbstractConfigProviderImpl
-
-