l.r.m.s.SharingJobDerived(BaseRunnableJob) : class documentation

Part of lp.registry.model.sharingjob View In Hierarchy

Known subclasses: lp.registry.model.sharingjob.RemoveArtifactSubscriptionsJob

Intermediate class for deriving from SharingJob.
Method __init__ Undocumented
Method __repr__ Undocumented
Method pillar Undocumented
Method pillar_text Undocumented
Method log_name Undocumented
Class Method create Undocumented
Class Method get Get a job by id.
Class Method iterReady See IJobSource.
Method getOopsVars See IRunnableJob.

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 getErrorRecipients Return a list of email-ids to notify about user errors.
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, job):
Undocumented
def __repr__(self):
Undocumented
@property
def pillar(self):
Undocumented
@property
def pillar_text(self):
Undocumented
@property
def log_name(self):
Undocumented
@classmethod
def create(cls, pillar, grantee, metadata):
Undocumented
@classmethod
def get(cls, job_id):
Get a job by id.
Returnsthe SharingJob with the specified id, as the current SharingJobDereived subclass.
RaisesSQLObjectNotFound 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.

This version will emit any ready job based on SharingJob.

def getOopsVars(self):
See IRunnableJob.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.