l.t.m.t.TranslationSharingJobDerived : class documentation

Part of lp.translations.model.translationsharingjob View In Hierarchy

Known subclasses: lp.translations.model.translationpackagingjob.TranslationPackagingJob

Base class for specialized TranslationTemplate Job types.
Method getDBClass Undocumented
Method sourcepackage Undocumented
Method __init__ Undocumented
Class Method create "Create a TranslationPackagingJob backed by TranslationSharingJob.
Class Method schedulePackagingJob Event subscriber to create a TranslationSharingJob on events.
Class Method schedulePOTemplateJob Event subscriber to create a TranslationSharingJob on events.
Class Method iterReady See IJobSource.
Class Method getNextJobStatus Return the status of the next job to run.
Static Method _register_subclass Register this class with its enumeration.
def getDBClass(self):
Undocumented
@property
def sourcepackage(self):
Undocumented
@staticmethod
def _register_subclass(cls):
Register this class with its enumeration.
def __init__(self, job):
Undocumented
@classmethod
def create(cls, productseries=None, distroseries=None, sourcepackagename=None, potemplate=None):
"Create a TranslationPackagingJob backed by TranslationSharingJob.
ParametersproductseriesThe ProductSeries side of the Packaging.
distroseriesThe distroseries of the Packaging sourcepackage.
sourcepackagenameThe name of the Packaging sourcepackage.
potemplatePOTemplate to restrict to (if any).
@classmethod
def schedulePackagingJob(cls, packaging, event):
Event subscriber to create a TranslationSharingJob on events.
ParameterspackagingThe Packaging to create a TranslationMergeJob for.
eventThe event itself.
@classmethod
def schedulePOTemplateJob(cls, potemplate, event):
Event subscriber to create a TranslationSharingJob on events.
ParameterspotemplateThe POTemplate to create a TranslationSharingJob for.
eventThe event itself.
@classmethod
def iterReady(cls, extra_clauses):
See IJobSource.

This version will emit any ready job based on TranslationSharingJob. :param extra_clauses: Extra clauses to reduce the selections.

@classmethod
def getNextJobStatus(cls, packaging):
Return the status of the next job to run.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.