| Home | Trees | Indices | Help |
|
|---|
|
|
This is the place where all the Entropy settings are stored if they are not considered instance constants (etpConst). For example, here we store package masking cache information and settings, client-side, server-side and services settings. Also, this class mimics a dictionary (even if not inheriting it due to development choices).
Sample code:
>>> from entropy.core import SystemSettings >>> system_settings = SystemSettings() >>> system_settings.clear() >>> system_settings.destroy()
| Instance Methods | |||
|
|||
| None |
|
||
| None |
|
||
| None |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
| None |
|
||
| None |
|
||
| dict |
|
||
| None |
|
||
|
Inherited from Inherited from |
|||
| Static Methods | |
| Properties | |
|
Inherited from |
| Method Details |
Replaces __init__ because SystemSettings is a Singleton. see Singleton API reference for more information. |
Overloaded method from Singleton. "Destroys" the instance.
|
This method lets you add custom parsers to SystemSettings. Mind that you are responsible of handling your plugin instance and remove it before it is destroyed. You can remove the plugin instance at any time by issuing remove_plugin. Every add_plugin or remove_plugin method will also issue clear() for you. This could be bad and it might be removed in future.
|
This method lets you remove previously added custom parsers from SystemSettings through its plugin identifier. If plugin_id is not available, KeyError exception will be raised. Every add_plugin or remove_plugin method will also issue clear() for you. This could be bad and it might be removed in future.
|
dict method. See Python dict API reference. |
dict method. See Python dict API reference. |
dict method. See Python dict API reference. |
dict method. See Python dict API reference. |
dict method. See Python dict API reference. |
dict method. See Python dict API reference. |
dict method. See Python dict API reference.
|
dict method. See Python dict API reference. |
dict method. See Python dict API reference. |
dict method. See Python dict API reference. |
dict method. See Python dict API reference. |
dict method. See Python dict API reference. |
dict method. See Python dict API reference. |
dict method. See Python dict API reference. |
dict method. See Python dict API reference. |
dict method. See Python dict API reference. |
dict method. See Python dict API reference. |
dict method. See Python dict API reference. |
dict method. See Python dict API reference. |
dict method. See Python dict API reference. |
dict method. See Python dict API reference. |
dict method. See Python dict API reference. Settings are also re-initialized here. @return None |
Make metadata persistent, the input dict will be merged with the base one at every reset call (clear()).
|
Remove dict key from persistent dictionary
|
Return a copy of the internal *files* dictionary. This dict contains config file paths and their identifiers.
|
Internal method. Validates Entropy Cache based on a setting file and its stored (cache bound) mtime.
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Wed Aug 5 16:58:54 2009 | http://epydoc.sourceforge.net |