Class PropertiesConfig.PropertiesConfigProvider
- java.lang.Object
-
- hudson.model.Descriptor<Config>
-
- org.jenkinsci.lib.configprovider.ConfigProvider
-
- org.jenkinsci.lib.configprovider.AbstractConfigProviderImpl
-
- org.jenkinsci.plugins.configfiles.properties.AbstractPropertiesProvider
-
- org.jenkinsci.plugins.configfiles.properties.PropertiesConfig.PropertiesConfigProvider
-
- All Implemented Interfaces:
ExtensionPoint
,Saveable
,OnMaster
- Enclosing class:
- PropertiesConfig
@Extension(ordinal=190.0) public static class PropertiesConfig.PropertiesConfigProvider extends AbstractPropertiesProvider
-
-
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
Constructors Constructor Description PropertiesConfigProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContentType
getContentType()
The content type of the configs this provider manages.String
getDisplayName()
Config
newConfig(String id)
Returns a newConfig
object.-
Methods inherited from class org.jenkinsci.plugins.configfiles.properties.AbstractPropertiesProvider
getSensitiveContentForMasking, supplyContent
-
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, newConfig, newConfig, remove, save, 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
-
-
-
-
Method Detail
-
getContentType
public ContentType 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).- Overrides:
getContentType
in classAbstractPropertiesProvider
- Returns:
- the type.
null
if no specific formatting should be supported.
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<Config>
-
newConfig
@NonNull public Config newConfig(@NonNull String id)
Description copied from class:ConfigProvider
Returns a newConfig
object.- Overrides:
newConfig
in classConfigProvider
- Parameters:
id
- desired id- Returns:
- the created configuration
-
-