Implementation regarding configuration files & their internal representation to the dput profile code.
Abstract Configuration Object. All concrete configuration implementations must subclass this object.
Basically, all subclasses are bootstrapped in the same-ish way:
- preload
- get_defaults
- set defaults
Get a configuration block. What this means is generally up to the implementation. However, please keep things sane and only return sensual upload target blocks.
Get a list of all configuration blocks. Strings in a list.
Get the defaults that concrete configs get overlaid on top of. In theory, this is set during the bootstrapping process.
Load all configuration blocks.