l.r.i.p.IProductNotificationJobSource(IProductJobSource) : interface documentation

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

Known subclasses: lp.registry.interfaces.productjob.ICommercialExpiredJobSource, lp.registry.interfaces.productjob.ISevenDayCommercialExpirationJobSource, lp.registry.interfaces.productjob.IThirtyDayCommercialExpirationJobSource

An interface for creating `IProductNotificationJob`s.
Method create Create a new IProductNotificationJob.

Inherited from IProductJobSource:

Method find Find `IProductJob`s that match the specified criteria.

Inherited from IJobSource (via IProductJobSource):

Int memory_limit Undocumented
Method iterReady Iterate through all jobs.
Method contextManager Get a context for running this kind of job in.
def create(product, email_template_name, subject, reviewer, reply_to_commercial=False):
Create a new IProductNotificationJob.
ParametersproductAn IProduct.
email_template_nameThe name of the email template without the extension.
subjectThe subject line of the notification.
reviewerThe user or agent sending the email.
reply_to_commercialSet the reply_to property to the commercial email address.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.