Koo::Common::Options::ConfigurationManager Class Reference

The ConfigurationManager class handles Koo settings information. More...

List of all members.

Public Member Functions

def __init__
 Constructs a ConfigurationManager object.
def save
 Stores current settings in the appropiate config file.
def load
 Loads settings from the appropiate config file.
def loadSettings
 Tries to load settings from koo server module.


Detailed Description

The ConfigurationManager class handles Koo settings information.

Those settings can be specified in the command line, koo.rc configuration file or koo server module.

Definition at line 40 of file Options.py.


Member Function Documentation

def Koo::Common::Options::ConfigurationManager::__init__ (   self,
  fileName = None 
)

Constructs a ConfigurationManager object.

If fileName is specified, the given file name will be used to store and retrive configuration. Otherwise, a standard location will be used.

Definition at line 44 of file Options.py.

def Koo::Common::Options::ConfigurationManager::load (   self  ) 

Loads settings from the appropiate config file.

Definition at line 121 of file Options.py.

def Koo::Common::Options::ConfigurationManager::loadSettings (   self  ) 

Tries to load settings from koo server module.

If the module is not installed, no exception or error is thrown.

Definition at line 155 of file Options.py.

def Koo::Common::Options::ConfigurationManager::save (   self  ) 

Stores current settings in the appropiate config file.

Definition at line 102 of file Options.py.


The documentation for this class was generated from the following file:
Generated by Doxygen