~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-11-21 04:19:35 UTC
  • mfrom: (14339.1.1 800295-delete-buildd-again)
  • Revision ID: launchpad@pqm.canonical.com-20111121041935-iwoh81iy9o5ssq09
[no-qa] [r=mbp] delete canonical.buildd,
 now it has moved to launchpad-buildd

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright 2009-2011 Canonical Ltd.  This software is licensed under the
 
1
# Copyright 2009-2010 Canonical Ltd.  This software is licensed under the
2
2
# GNU Affero General Public License version 3 (see the file LICENSE).
3
3
 
4
4
# pylint: disable-msg=E0211,E0213
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
 
 
150
143
    def generateSlaveBuildCookie():
151
144
        """Produce a cookie for the slave as a token of the job it's doing.
152
145
 
329
322
class IBuildFarmJobSet(Interface):
330
323
    """A utility representing a set of build farm jobs."""
331
324
 
 
325
    def getSpecificJobs(jobs):
 
326
        """Return the specific build jobs associated with each of the jobs
 
327
        in the provided job list.
 
328
 
 
329
        """
 
330
 
332
331
    def getBuildsForBuilder(builder_id, status=None, user=None):
333
332
        """Return `IBuildFarmJob` records touched by a builder.
334
333