l.b.i.b.IBuildFarmJobSet(Interface) : interface documentation

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

A utility representing a set of build farm jobs.
Method getBuildsForBuilder Return IBuildFarmJob records touched by a builder.
Method getBuildsForArchive Return IBuildFarmJob records targeted to a given IArchive.
def getBuildsForBuilder(builder_id, status=None, user=None):
Return IBuildFarmJob records touched by a builder.
Parametersbuilder_idThe id of the builder for which to find builds.
statusIf given, limit the search to builds with this status.
userIf given, this will be used to determine private builds that should be included.
Returnsa ResultSet representing the requested builds.
def getBuildsForArchive(archive, status=None):
Return IBuildFarmJob records targeted to a given IArchive.
ParametersarchiveThe archive for which builds will be returned.
statusIf status is provided, only builders with that status will be returned.
Returnsa ResultSet representing the requested IBuildFarmJobs.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.