l.b.i.e.ISupportsCommentImport(IExternalBugTracker) : interface documentation

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

An external bug tracker that supports comment imports.
Method fetchComments Load a given set of remote comments, ready for parsing.
Method getCommentIds Return all the comment IDs for a given remote bug.
Method getPosterForComment Return a tuple of (name, emailaddress) for a comment's poster.
Method getMessageForComment Return an IMessage instance for a comment.

Inherited from IExternalBugTracker:

Method getExternalBugTrackerToUse Return the ExternalBugTracker instance to use.
Method getCurrentDBTime Return the current time of the bug tracker's DB server.
Method getModifiedRemoteBugs Return the bug ids that have been modified.
Method initializeRemoteBugDB Do any initialization before each bug watch is updated.
Method convertRemoteStatus Convert a remote status string to a BugTaskStatus item.
Method convertRemoteImportance Convert a remote importance to a BugTaskImportance item.
Method getRemoteProduct Return the remote product for a given remote bug.
def fetchComments(remote_bug_id, comment_ids):
Load a given set of remote comments, ready for parsing.
Parametersremote_bug_idThe ID of the remote bug from which to fetch comments. (type: See IBugWatch.remotebug.)
comment_idsA list of the IDs of the comments to load.
def getCommentIds(remote_bug_id):
Return all the comment IDs for a given remote bug.
Parametersremote_bug_idThe ID of the remote bug from which comments should be imported. (type: See IBugWatch.remotebug.)
ReturnsA list of strings, each of which is the ID of one comment on the remote bug.
def getPosterForComment(remote_bug_id, comment_id):
Return a tuple of (name, emailaddress) for a comment's poster.
Parametersremote_bug_idThe ID of the remote bug from which comments have been imported. (type: See IBugWatch.remotebug.)
comment_idA string representing the remote comment ID from which the poster's details should be extracted.
def getMessageForComment(remote_bug_id, comment_id, poster):
Return an IMessage instance for a comment.
Parametersremote_bug_idThe ID of the remote bug from which comments have been imported. (type: See IBugWatch.remotebug.)
comment_idA string representing the remote comment ID from which the returned IMessage should be created.
API Documentation for Launchpad, generated by pydoctor at 2019-10-19 00:00:05.