Class JsonConfig.JsonConfigProvider
java.lang.Object
hudson.model.Descriptor<Config>
org.jenkinsci.lib.configprovider.ConfigProvider
org.jenkinsci.lib.configprovider.AbstractConfigProviderImpl
org.jenkinsci.plugins.configfiles.json.JsonConfig.JsonConfigProvider
- All Implemented Interfaces:
ExtensionPoint
,Saveable
,OnMaster
- Enclosing class:
- JsonConfig
@Extension(ordinal=180.0)
public static class JsonConfig.JsonConfigProvider
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
Modifier and TypeMethodDescriptionThe content type of the configs this provider manages.Returns a newConfig
object.Methods inherited from class org.jenkinsci.lib.configprovider.AbstractConfigProviderImpl
clearOldDataStorage, convert, getConfigs, getConfigXml, getProviderId, getXmlFileName, 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
-
JsonConfigProvider
public JsonConfigProvider()
-
-
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
-