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 public abstract class AbstractConfigProvider extends AbstractConfigProviderImpl
Deprecated.as of 1.2. ExtendAbstractConfigProviderImpl
directly.Backward compatibility layer for old subtypes ofConfigProvider
-
-
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
Deprecated.-
Fields inherited from class org.jenkinsci.lib.configprovider.AbstractConfigProviderImpl
configs
-
Fields inherited from class hudson.model.Descriptor
clazz
-
-
Constructor Summary
Constructors Constructor Description AbstractConfigProvider()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected XmlFile
getConfigXml()
Deprecated.String
getProviderId()
Deprecated.An ID uniquely identifying this provider, the id of eachConfig
must start with this ID separated by a '.'!protected String
getXmlFileName()
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 Detail
-
ID_PREFIX
protected final String ID_PREFIX
Deprecated.
-
-
Method Detail
-
getProviderId
public String 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
protected XmlFile getConfigXml()
Deprecated.- Overrides:
getConfigXml
in classAbstractConfigProviderImpl
-
getXmlFileName
protected String getXmlFileName()
Deprecated.- Overrides:
getXmlFileName
in classAbstractConfigProviderImpl
-
-