java.lang.Object
org.jenkinsci.lib.configprovider.model.Config
All Implemented Interfaces:
Describable<Config>, Serializable
Direct Known Subclasses:
CustomConfig, GlobalMavenSettingsConfig, GroovyScript, JsonConfig, MavenSettingsConfig, MavenToolchainsConfig, PropertiesConfig, XmlConfig

public abstract class Config extends Object implements Serializable, Describable<Config>
Represents a particular configuration file and its content.

A Config object "belongs to" a ConfigProvider instance.

Author:
domi
See Also:
  • Field Details

    • id

      public final String id
      a unique id along all providers!
    • name

      public final String name
      Human readable display name that distinguishes this Config instance among other Config instances.
    • comment

      public final String comment
      Any note that the author of this configuration wants to associate with this. Jenkins doesn't use this. Can be null.
    • content

      public final String content
      Content of the file as-is.
  • Constructor Details

  • Method Details