l.t.i.t.ITranslationTemplatesBuildSource(ISpecificBuildFarmJobSource) : interface documentation

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

Utility for ITranslationTemplatesBuild.
Method create Create a new ITranslationTemplatesBuild.
Method findByBranch Find ITranslationTemplatesBuild`s for `branch.
Method generatesTemplates Can this branch usefully generate translation templates?
Method scheduleTranslationTemplatesBuild Schedule a translation templates build job, if appropriate.

Inherited from ISpecificBuildFarmJobSource:

Method getByID Look up a concrete IBuildFarmJob by ID.
Method getByBuildFarmJobs "Look up the concrete `IBuildFarmJob`s for a list of BuildFarmJobs.
Method getByBuildFarmJob "Look up the concrete IBuildFarmJob for a BuildFarmJob.
Method addCandidateSelectionCriteria Provide a sub-query to refine the candidate job selection.
Method postprocessCandidate True if the candidate job is fine and should be dispatched
def create(branch):
Create a new ITranslationTemplatesBuild.
def findByBranch(branch, store=None):
Find ITranslationTemplatesBuild`s for `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 scheduleTranslationTemplatesBuild(branch):
Schedule a translation templates build job, if appropriate.
API Documentation for Launchpad, generated by pydoctor at 2019-05-22 00:00:12.