Class XmlConfig.XmlConfigProvider
java.lang.Object
hudson.model.Descriptor<Config>
org.jenkinsci.lib.configprovider.ConfigProvider
org.jenkinsci.lib.configprovider.AbstractConfigProviderImpl
org.jenkinsci.plugins.configfiles.xml.XmlConfig.XmlConfigProvider
- All Implemented Interfaces:
ExtensionPoint
,Saveable
,OnMaster
- Enclosing class:
- XmlConfig
@Extension(ordinal=150.0)
public static class XmlConfig.XmlConfigProvider
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
-
Field Details
-
ID_PREFIX
-
-
Constructor Details
-
XmlConfigProvider
public XmlConfigProvider()
-
-
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>
-
newConfig
Description copied from class:ConfigProvider
Returns a newConfig
object.- Overrides:
newConfig
in classConfigProvider
- Parameters:
id
- desired id- Returns:
- the created configuration
-
getXmlFileName
- Overrides:
getXmlFileName
in classAbstractConfigProviderImpl
-