l.c.i.b.IBranchMergeQueueSet(Interface) : interface documentation

Part of lp.code.interfaces.branchmergequeue View In Hierarchy

Known implementations: lp.code.model.branchmergequeue.BranchMergeQueueSet

A utility interface for getting merge queues.
Method getByName Return the BranchMergeQueue with the specified name.
Method getForBranch Get a BranchMergeQueue for the specified branch.
Method newMultiBranchMergeQueue Create a new MultiBranchMergeQueue.
def getByName(queue_name):
Return the BranchMergeQueue with the specified name.
Parametersqueue_nameThe name of the multi-branch merge queue. (type: String.)
RaisesNotFoundErrorif a queue with the specified name does not exist.
def getForBranch(branch):
Get a BranchMergeQueue for the specified branch.

If the branch has defined that the queue for the branch is a multi-branch queue, then that queue is returned.

ParametersbranchThe branch to get the queue for. (type: IBranch.)
RaisesNotUsingBranchMergeQueuesIf the branch has said that it is not using Launchpad merge queues, an exception.
def newMultiBranchMergeQueue(registrant, owner, name, summary):
Create a new MultiBranchMergeQueue.
API Documentation for Launchpad, generated by pydoctor at 2010-09-27 00:00:11.