Part of lp.registry.interfaces.productjob View In Hierarchy
Known subclasses: lp.registry.interfaces.productjob.IProductNotificationJobSource, lp.registry.tests.test_productjob.IProductThingJobSource
An interface for creating and finding `IProductJob`s.
| Method | create | Create a new IProductJob. |
| Method | find | Find `IProductJob`s that match the specified criteria. |
Inherited from IJobSource:
| Int | memory_limit | Undocumented |
| Method | iterReady | Iterate through all jobs. |
| Method | contextManager | Get a context for running this kind of job in. |
IProductJob.| Parameters | product | An IProduct. |
| metadata | a dict of configuration data for the job. The data must be JSON compatible keys and values. |
Find `IProductJob`s that match the specified criteria.
:param product: Match jobs for specific product.
:param date_since: Match jobs since the specified date.
:param job_type: Match jobs of a specific type. Type is expected
to be a class name.
:return: A `ResultSet` yielding `IProductJob`.