l.c.m.b.GenerateIncrementalDiffJob(BranchMergeProposalJobDerived) : class documentation

Part of lp.code.model.branchmergeproposaljob View In Hierarchy

A job to generate an incremental diff for a branch merge proposal.

Provides class methods to create and retrieve such jobs.

Method run Undocumented
Class Method create See IMergeProposalCreationJob.
Static Method getMetadata Undocumented
Method old_revision_id The old revision id for the diff.
Method new_revision_id The new revision id for the diff.
Method getOopsVars See IRunnableJob.
Method getOperationDescription Undocumented
Method getErrorRecipients Return a list of email-ids to notify about user errors.

Inherited from BranchMergeProposalJobDerived:

Method __init__ Undocumented
Method __repr__ Undocumented
Class Method get Get a job by id.
Class Method iterReady Iterate through all ready BranchMergeProposalJobs.
Class Method _create Undocumented

Inherited from BaseRunnableJob (via BranchMergeProposalJobDerived):

Method __eq__ Undocumented
Method __ne__ Undocumented
Method __lt__ Undocumented
Method getOopsRecipients Return a list of email-ids to notify about oopses.
Method getOopsMailController Return a MailController for notifying people about oopses.
Method getUserErrorMailController Return a MailController for notifying about user errors.
Method notifyOops Report this oops.
Method notifyUserError See IRunnableJob.
Method makeOopsReport Generate an OOPS report using the given OOPS configuration.
Method acquireLease Undocumented
Method taskId Return a task ID that gives a clue what this job is about.
Method runViaCelery Request that this job be run via celery.
Method getDBClass Undocumented
Method celeryCommitHook Hook function to call when a commit completes.
Method celeryRunOnCommit Configure transaction so that commit runs this job via Celery.
Method queue See IJob.

Inherited from BaseRunnableJobSource (via BranchMergeProposalJobDerived, BaseRunnableJob):

Static Method contextManager Undocumented
def run(self):
Undocumented
@classmethod
def create(cls, merge_proposal, old_revision_id, new_revision_id):
See IMergeProposalCreationJob.
@staticmethod
def getMetadata(old_revision_id, new_revision_id):
Undocumented
@property
def old_revision_id(self):
The old revision id for the diff.
@property
def new_revision_id(self):
The new revision id for the diff.
def getOopsVars(self):
See IRunnableJob.
def getOperationDescription(self):
Undocumented
def getErrorRecipients(self):
Return a list of email-ids to notify about user errors.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.