Package sabayon :: Module userprofile :: Class ProfileChange
[hide private]
[frames] | no frames]

Class ProfileChange

source code


Abstract base class for encapsulating profile changes.

Instance Methods [hide private]
  __init__(self, source, delegate=None)
Construct a ProfileChange object.
  get_source(self)
Get the ProfileSource from which this change came.
  get_id(self)
Return and identifier for the configuration item which changed.
  get_short_description(self)
Return a short description of the configuration change.
  get_ignore_default(self)
Returns the default value for the ignore item for this change.
  get_mandatory(self)
Returns the mandatory value of the change, or None to use the default
  merge_old_change(self, old_change)
Merges info from previous change into this change.

Method Details [hide private]

__init__(self, source, delegate=None)
(Constructor)

source code 

Construct a ProfileChange object.

source: the ProfileSource from which the change came.

get_source(self)

source code 
Get the ProfileSource from which this change came.

get_id(self)

source code 
Return and identifier for the configuration item which changed.

get_short_description(self)

source code 
Return a short description of the configuration change.

get_ignore_default(self)

source code 
Returns the default value for the ignore item for this change.

get_mandatory(self)

source code 
Returns the mandatory value of the change, or None to use the default

merge_old_change(self, old_change)

source code 
Merges info from previous change into this change. Return True to discard the new change.