Package yum :: Module plugins :: Class ConfigPluginConduit
[hide private]
[frames] | no frames]

Class ConfigPluginConduit

source code


Instance Methods [hide private]
 
registerOpt(self, name, valuetype, where, default)
Register a yum configuration file option.
source code
 
registerCommand(self, command) source code

Inherited from PluginConduit: __init__, confBool, confFloat, confInt, confString, error, getOptParser, getYumVersion, info, promptYN, registerPackageName

Method Details [hide private]

registerOpt(self, name, valuetype, where, default)

source code 

Register a yum configuration file option.

Parameters:
  • name - Name of the new option.
  • valuetype - Option type (PLUG_OPT_BOOL, PLUG_OPT_STRING ...)
  • where - Where the option should be available in the config file. (PLUG_OPT_WHERE_MAIN, PLUG_OPT_WHERE_REPO, ...)
  • default - Default value for the option if not set by the user.