Package org.jenkinsci.lib.configprovider
Class AbstractConfigProvider
java.lang.Object
hudson.model.Descriptor<Config>
org.jenkinsci.lib.configprovider.ConfigProvider
org.jenkinsci.lib.configprovider.AbstractConfigProviderImpl
org.jenkinsci.lib.configprovider.AbstractConfigProvider
- All Implemented Interfaces:
ExtensionPoint
,Saveable
,OnMaster
Deprecated.
Backward compatibility layer for old subtypes of
ConfigProvider
-
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
Modifier and TypeMethodDescriptionprotected XmlFile
Deprecated.Deprecated.An ID uniquely identifying this provider, the id of eachConfig
must start with this ID separated by a '.'!protected String
Deprecated.void
load()
Deprecated.Overridden for backward compatibility to let subtype customize the file name.void
save()
Deprecated.Overridden for backward compatibility to let subtype customize the file name.Methods inherited from class org.jenkinsci.lib.configprovider.AbstractConfigProviderImpl
clearOldDataStorage, convert, getConfigs
Methods inherited from class org.jenkinsci.lib.configprovider.ConfigProvider
all, configExists, getAllConfigs, getByIdOrNull, getConfigById, getContentType, getSensitiveContentForMasking, newConfig, 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, getDisplayName, 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
Deprecated.
-
-
Constructor Details
-
AbstractConfigProvider
public AbstractConfigProvider()Deprecated.
-
-
Method Details
-
getProviderId
Deprecated.Description copied from class:ConfigProvider
An ID uniquely identifying this provider, the id of eachConfig
must start with this ID separated by a '.'!- Overrides:
getProviderId
in classAbstractConfigProviderImpl
- Returns:
- the unique id for this provider.
-
save
public void save()Deprecated.Overridden for backward compatibility to let subtype customize the file name.- Specified by:
save
in interfaceSaveable
- Overrides:
save
in classAbstractConfigProviderImpl
-
load
public void load()Deprecated.Overridden for backward compatibility to let subtype customize the file name.- Overrides:
load
in classAbstractConfigProviderImpl
-
getConfigXml
Deprecated.- Overrides:
getConfigXml
in classAbstractConfigProviderImpl
-
getXmlFileName
Deprecated.- Overrides:
getXmlFileName
in classAbstractConfigProviderImpl
-
AbstractConfigProviderImpl
directly.