l.b.i.b.IBugComment(IMessage, IComment) : interface documentation

Part of lp.bugs.interfaces.bugmessage View In Hierarchy

A bug comment for displaying in the web UI.
Attribute bugtask The bug task the comment belongs to.
Attribute bugwatch The bugwatch to which the comment pertains.
Bool show_for_admin Undocumented
Attribute display_title Whether or not to show the title.
Attribute synchronized Has the comment been synchronized with a remote bug tracker?
Attribute add_comment_url The URL for submitting replies to this comment.
Attribute activity A list of BugActivityItems associated with this comment.
Attribute show_activity Whether or not to show an activity for the comment.
Attribute show_spam_controls Whether or not to show a footer for the comment.
Attribute patches Patches attched to this comment.

Inherited from IMessage:

Int id Undocumented
Text content Undocumented
TextLine rfc822msgid Undocumented
Attribute chunks Message pieces
TextLine title Undocumented
Bool visible Undocumented
Method __iter__ Iterate over all the message chunks.
Method getAPIParent Return None because messages are not threaded over the API.

Inherited from IComment:

Int index Undocumented
TextLine extra_css_class A css class to apply to the comment's outer div.
Bool has_body Does the comment have body text?
Bool has_footer Does the comment have a footer?
Bool too_long Undocumented
Bool too_long_to_render Undocumented
Text text_for_display Undocumented
Text body_text The body text of the comment.
Text download_url URL for downloading full text.
Datetime comment_date Undocumented
Bool display_attachments Should attachments be displayed for this comment.
Bool visible Undocumented
bugtask =
The bug task the comment belongs to.

Comments are global to bugs, but the bug task is needed in order to construct the correct URL.

bugwatch =
The bugwatch to which the comment pertains.
show_for_admin =
Undocumented
display_title =
Whether or not to show the title.
synchronized =
Has the comment been synchronized with a remote bug tracker?
add_comment_url =
The URL for submitting replies to this comment.
activity =
A list of BugActivityItems associated with this comment.
show_activity =
Whether or not to show an activity for the comment.
show_spam_controls =
Whether or not to show a footer for the comment.
patches =
Patches attched to this comment.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.