l.r.m.p.CommercialExpiredJob(CommericialExpirationMixin, ProductNotificationJob) : class documentation

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

A job that sends an email about an expired commercial subscription.
Method email_template_name See IProductNotificationJob.
Method run See ProductNotificationJob.
Static Method _get_expiration_dates Undocumented
Method _is_proprietary Does the product have a proprietary licence?
Method _deactivateCommercialFeatures Deactivate the project or just the commercial features it uses.

Inherited from CommericialExpirationMixin:

Class Method create See ExpirationSourceMixin.
Class Method getExpiringProducts See ExpirationSourceMixin.
Method message_data See IProductNotificationJob.

Inherited from ProductNotificationJob:

Class Method create See IProductNotificationJob.
Method subject See IProductNotificationJob.
Method reviewer See IProductNotificationJob.
Method reply_to_commercial See IProductNotificationJob.
Method reply_to See IProductNotificationJob.
Method recipients See IProductNotificationJob.
Method message_data See IProductNotificationJob.
Method getErrorRecipients See BaseRunnableJob.
Method getBodyAndHeaders See IProductNotificationJob.
Method sendEmailToMaintainer See IProductNotificationJob.

Inherited from ProductJobDerived (via ProductNotificationJob):

Method __init__ Undocumented
Method __repr__ Undocumented
Class Method find See IPersonMergeJobSource.
Class Method iterReady Iterate through all ready ProductJobs.
Method log_name Undocumented
Method getOopsVars See IRunnableJob.

Inherited from BaseRunnableJob (via ProductNotificationJob, ProductJobDerived):

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 ProductNotificationJob, ProductJobDerived, BaseRunnableJob):

Static Method contextManager Undocumented
@staticmethod
def _get_expiration_dates():
Undocumented
@property
def _is_proprietary(self):
Does the product have a proprietary licence?
@property
def email_template_name(self):
See IProductNotificationJob.

The email template is determined by the product's licences.

def _deactivateCommercialFeatures(self):
Deactivate the project or just the commercial features it uses.
def run(self):
See ProductNotificationJob.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.