~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/buildmaster/interfaces/buildfarmjob.py

Merged fix-retest-colorize into redo-read-only-transactions-in-buildmaster, resolving several import conflicts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
    Timedelta,
33
33
    )
34
34
 
35
 
from canonical.launchpad import _
 
35
from lp import _
36
36
from lp.buildmaster.enums import BuildFarmJobType
37
37
from lp.buildmaster.interfaces.builder import IBuilder
38
38
from lp.services.librarian.interfaces import ILibraryFileAlias
140
140
        has an entry associated with `job`.
141
141
        """
142
142
 
 
143
    def getByJobs(jobs):
 
144
        """Get the specific `IBuildFarmJob`s for the given `Job`s.
 
145
 
 
146
        Invoked on the specific `IBuildFarmJob`-implementing class that
 
147
        has entries associated with `job`s.
 
148
        """
 
149
 
143
150
    def generateSlaveBuildCookie():
144
151
        """Produce a cookie for the slave as a token of the job it's doing.
145
152