Class ConfigDataSource

  • All Implemented Interfaces:
    DataSource

    public class ConfigDataSource
    extends Object
    implements DataSource
    A readonly DataSource, backed by a Config.
    • Constructor Detail

      • ConfigDataSource

        public ConfigDataSource​(@NonNull
                                org.jenkinsci.lib.configprovider.model.Config config,
                                boolean strip,
                                @Nullable
                                Map<String,​String> replacements)
        Creates a new instance from the supplied config.
        Parameters:
        config - The config to be used for supplying the content.
        strip - If true, then any leading signature will be stripped if possible.
        replacements - If non-null, specifies mappings of VARIABLENAME to value which will be replaced in the content