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,Loadable,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.SelfNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from class org.jenkinsci.lib.configprovider.AbstractConfigProviderImpl
configsFields inherited from class hudson.model.Descriptor
clazz -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe content type of the configs this provider manages.Returns a newConfigobject.Methods inherited from class org.jenkinsci.lib.configprovider.AbstractConfigProviderImpl
clearOldDataStorage, convert, getConfigs, getConfigXml, getProviderId, getXmlFileName, load, saveMethods inherited from class org.jenkinsci.lib.configprovider.ConfigProvider
all, configExists, getAllConfigs, getByIdOrNull, getConfigById, getSensitiveContentForMasking, newConfig, newConfig, remove, save, supplyContent, supportsFolderMethods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, configure, doHelp, 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, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, self, toArray, toList, toMap
-
Constructor Details
-
JsonConfigProvider
public JsonConfigProvider()
-
-
Method Details
-
getContentType
Description copied from class:ConfigProviderThe content type of the configs this provider manages. e.g. can be used to display the content in the UI (editor).- Specified by:
getContentTypein classConfigProvider- Returns:
- the type.
nullif no specific formatting should be supported.
-
getDisplayName
- Overrides:
getDisplayNamein classDescriptor<Config>
-
newConfig
Description copied from class:ConfigProviderReturns a newConfigobject.- Overrides:
newConfigin classConfigProvider- Parameters:
id- desired id- Returns:
- the created configuration
-