Package sabayon :: Package sources :: Module testsource :: Class TestSource
[hide private]
[frames] | no frames]

Class TestSource

source code


Instance Methods [hide private]
  __init__(self, storage)
Construct a ProfileSource object.
  commit_change(self, change)
Commit a change to profile.
  start_monitoring(self)
Start monitoring for configuration changes.
  stop_monitoring(self)
Stop monitoring for configuration changes.
  sync_changes(self)
Save all committed changes to disk.
  set_enforce_mandatory(self, enforce)
Temporary make mandatory setting non-mandatory.
  apply(self, is_sabayon_session)
Apply profile to the current user's environment.
  get_test_change(self, key, value)

Inherited from userprofile.ProfileSource: emit_change, get_delegate, get_name, get_path_description


Class Variables [hide private]

Inherited from userprofile.ProfileSource: __gsignals__


Method Details [hide private]

__init__(self, storage)
(Constructor)

source code 
Construct a ProfileSource object.
Overrides: userprofile.ProfileSource.__init__
(inherited documentation)

commit_change(self, change)

source code 

Commit a change to profile.

mandatory: whether the change should be committed such that it overrides the user's value.
Overrides: userprofile.ProfileSource.commit_change
(inherited documentation)

start_monitoring(self)

source code 
Start monitoring for configuration changes.
Overrides: userprofile.ProfileSource.start_monitoring
(inherited documentation)

stop_monitoring(self)

source code 
Stop monitoring for configuration changes.
Overrides: userprofile.ProfileSource.stop_monitoring
(inherited documentation)

sync_changes(self)

source code 
Save all committed changes to disk.
Overrides: userprofile.ProfileSource.sync_changes
(inherited documentation)

set_enforce_mandatory(self, enforce)

source code 
Temporary make mandatory setting non-mandatory.
Overrides: userprofile.ProfileSource.set_enforce_mandatory
(inherited documentation)

apply(self, is_sabayon_session)

source code 
Apply profile to the current user's environment.
Overrides: userprofile.ProfileSource.apply
(inherited documentation)

get_test_change(self, key, value)

source code 
None