Part of lp.bugs.adapters.bugchange View In Hierarchy
Known subclasses: lp.bugs.adapters.bugchange.BugTaskBugWatchChange, lp.bugs.adapters.bugchange.BugTaskImportanceChange, lp.bugs.adapters.bugchange.BugTaskMilestoneChange, lp.bugs.adapters.bugchange.BugTaskStatusChange
This is a base class. Implementations should define
display_attribute
and optionally override
display_activity_label
and/or display_notification_label
.
display_attribute
is the name of an attribute on the value
objects that, when fetched, is usable when recording activity and
sending notifications.
Method | __init__ | Undocumented |
Method | display_activity_label | The label to use when recording activity. |
Method | display_notification_label | The label to use for notifications. |
Method | getBugActivity | Return the bug activity data for this change as a dict. |
Method | getBugNotification | Return the bug notification text for this change. |
By default, it is the same as attribute that changed.
By default, it is the same as the attribute that changed, capitalized.
The whatchanged
value of the dict refers to the BugTask
's
target so as to make it clear in which task the change was made.