l.t.m.t.TranslationTemplatesBuildJob(BuildFarmJobOldDerived, BranchJobDerived) : class documentation

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

Known subclasses: lp.translations.tests.test_translationtemplatesbuildjob.FakeTranslationTemplatesJobSource

Implements interfaces: lp.buildmaster.interfaces.buildfarmbranchjob.IBuildFarmBranchJob

An IBuildFarmJob implementation that generates templates.

Implementation-wise, this is actually a BranchJob.

Method __init__ Ensure the instance to which we delegate is set on creation.
Method score See IBuildFarmJob.
Method getLogFileName See IBuildFarmJob.
Method getName See IBuildFarmJob.
Method getTitle See IBuildFarmJob.
Method cleanUp See IBuildFarmJob.
Class Method generatesTemplates See ITranslationTemplatesBuildJobSource.
Class Method create See ITranslationTemplatesBuildJobSource.
Class Method scheduleTranslationTemplatesBuild See ITranslationTemplatesBuildJobSource.
Class Method getByJob See IBuildFarmJob.
Class Method getByBranch See ITranslationTemplatesBuildJobSource.
Method _set_build_farm_job Setup the IBuildFarmJob delegate.
Class Method _hasPotteryCompatibleSetup Does branch look as if pottery can generate templates for it?
Class Method _getBuildArch Returns an IProcessor to queue a translation build for.

Inherited from BuildFarmJobOldDerived:

Method __storm_loaded__ Set the attribute for our IBuildFarmJob delegation.
Method generateSlaveBuildCookie See IBuildFarmJobOld.
Static Method addCandidateSelectionCriteria See IBuildFarmJobOld.
Static Method postprocessCandidate See IBuildFarmJobOld.

Inherited from BranchJobDerived:

Method __repr__ Undocumented
Method __eq__ Undocumented
Method __ne__ Undocumented
Class Method iterReady See IRevisionMailJobSource.
Method getOopsVars See IRunnableJob.

Inherited from BaseRunnableJob (via BranchJobDerived):

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.
Static Method contextManager Undocumented
def __init__(self, branch_job):
Ensure the instance to which we delegate is set on creation.
def _set_build_farm_job(self):
Setup the IBuildFarmJob delegate.

We override this to provide a non-database delegate that simply provides required functionality to the queue system.

def score(self):
See IBuildFarmJob.
def getLogFileName(self):
See IBuildFarmJob.
def getName(self):
See IBuildFarmJob.
def getTitle(self):
See IBuildFarmJob.
def cleanUp(self):
See IBuildFarmJob.
@classmethod
def _hasPotteryCompatibleSetup(cls, branch):
Does branch look as if pottery can generate templates for it?
ParametersbranchA Branch object.
@classmethod
def generatesTemplates(cls, branch):
See ITranslationTemplatesBuildJobSource.
@classmethod
def create(cls, branch):
See ITranslationTemplatesBuildJobSource.
@classmethod
def _getBuildArch(cls):
Returns an IProcessor to queue a translation build for.
@classmethod
def scheduleTranslationTemplatesBuild(cls, branch):
See ITranslationTemplatesBuildJobSource.
@classmethod
def getByJob(cls, job):
See IBuildFarmJob.

Overridden here to search via a BranchJob, rather than a Job.

@classmethod
def getByBranch(cls, branch):
See ITranslationTemplatesBuildJobSource.
API Documentation for Launchpad, generated by pydoctor at 2010-09-27 00:00:11.