l.b.m.b.BuildFarmJobOldDerived : class documentation

Part of lp.buildmaster.model.buildfarmjob View In Hierarchy

Known subclasses: lp.code.model.sourcepackagerecipebuild.SourcePackageRecipeBuildJob, lp.soyuz.model.buildpackagejob.BuildPackageJob, lp.translations.model.translationtemplatesbuildjob.TranslationTemplatesBuildJob

Setup the delegation and provide some common implementation.
Method __init__ Ensure the instance to which we delegate is set on creation.
Method __storm_loaded__ Set the attribute for our IBuildFarmJob delegation.
Class Method getByJob See IBuildFarmJobOld.
Method generateSlaveBuildCookie See IBuildFarmJobOld.
Method cleanUp See IBuildFarmJob.
Static Method addCandidateSelectionCriteria See IBuildFarmJobOld.
Static Method postprocessCandidate See IBuildFarmJobOld.
Method _set_build_farm_job Set the build farm job to which we will delegate.
def __init__(self, *args, **kwargs):
Ensure the instance to which we delegate is set on creation.
def __storm_loaded__(self):
Set the attribute for our IBuildFarmJob delegation.

This is needed here as __init__() is not called when a storm object is loaded from the database.

def _set_build_farm_job(self):
Set the build farm job to which we will delegate.

Deriving classes must set the build_farm_job attribute for the delegation.

@classmethod
def getByJob(cls, job):
See IBuildFarmJobOld.
def generateSlaveBuildCookie(self):
See IBuildFarmJobOld.
def cleanUp(self):
See IBuildFarmJob.

Classes that derive from BuildFarmJobOld need to clean up after themselves correctly.

@staticmethod
def addCandidateSelectionCriteria(processor, virtualized):
See IBuildFarmJobOld.
@staticmethod
def postprocessCandidate(job, logger):
See IBuildFarmJobOld.
API Documentation for Launchpad, generated by pydoctor at 2010-09-27 00:00:11.