l.t.i.t.ITranslationTemplatesBuildJobSource(Interface) : interface documentation

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

Container for `TranslationTemplatesBuildJob`s.
Method generatesTemplates Can this branch usefully generate translation templates?
Method create Create new TranslationTemplatesBuildJob.
Method scheduleTranslationTemplatesBuild Schedule a translation templates build job, if appropriate.
Method getByBranch Find TranslationTemplatesBuildJob for given Branch.
def generatesTemplates(branch):
Can this branch usefully generate translation templates?

If yes, then use create to schedule a build-farm job to generate the templates based on the source code in the branch.

def create(branch):
Create new TranslationTemplatesBuildJob.

Also creates the matching IBuildQueue and IJob.

ParametersbranchA Branch that this job will check out and generate templates for.
ReturnsA new TranslationTemplatesBuildJob.
def scheduleTranslationTemplatesBuild(branch):
Schedule a translation templates build job, if appropriate.
def getByBranch(branch):
Find TranslationTemplatesBuildJob for given Branch.
API Documentation for Launchpad, generated by pydoctor at 2010-09-27 00:00:11.