l.c.m.g.GitJobDerived(BaseRunnableJob) : class documentation

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

Known subclasses: lp.code.model.gitjob.GitRefScanJob, lp.code.model.gitjob.GitRepositoryModifiedMailJob, lp.code.model.gitjob.ReclaimGitRepositorySpaceJob

No class docstring
Method __init__ Undocumented
Method __repr__ Returns an informative representation of the job.
Class Method get Get a job by id.
Class Method iterReady See IJobSource.
Method getOopsVars See IRunnableJob.
Method getErrorRecipients Return a list of email-ids to notify about user errors.

Inherited from BaseRunnableJob:

Method __eq__ Undocumented
Method __ne__ Undocumented
Method __lt__ Undocumented
Method getOopsRecipients Return a list of email-ids to notify about oopses.
Method getOperationDescription Undocumented
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 BaseRunnableJob):

Static Method contextManager Undocumented
def __init__(self, git_job):
Undocumented
def __repr__(self):
Returns an informative representation of the job.
@classmethod
def get(cls, job_id):
Get a job by id.
ReturnsThe GitJob with the specified id, as the current GitJobDerived subclass.
RaisesNotFoundError if there is no job with the specified id, or its job_type does not match the desired subclass.
@classmethod
def iterReady(cls):
See IJobSource.
def getOopsVars(self):
See IRunnableJob.
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.