Package buildbot :: Module interfaces :: Class IBuildRequestControl
[frames] | no frames]

Class IBuildRequestControl

source code

zope.interface.Interface --+
                           |
                          IBuildRequestControl

Instance Methods
 
subscribe(observer)
Register a callable that will be invoked (with a single IBuildControl object) for each Build that is created to satisfy this request.
source code
 
unsubscribe(observer)
Unregister the callable that was registered with subscribe().
source code
 
cancel()
Remove the build from the pending queue.
source code
Class Variables
  __bases__ = (<InterfaceClass zope.interface.Interface>)
  __identifier__ = 'buildbot.interfaces.IBuildRequestControl'
  __iro__ = (<InterfaceClass buildbot.interfaces.IBuildRequestCo...
  __name__ = 'IBuildRequestControl'
  __sro__ = (<InterfaceClass buildbot.interfaces.IBuildRequestCo...
  dependents = <WeakKeyDictionary at 50970208>
Method Details

subscribe(observer)

source code 

Register a callable that will be invoked (with a single IBuildControl object) for each Build that is created to satisfy this request. There may be multiple Builds created in an attempt to handle the request: they may be interrupted by the user or abandoned due to a lost slave. The last Build (the one which actually gets to run to completion) is said to 'satisfy' the BuildRequest. The observer will be called once for each of these Builds, both old and new.

cancel()

source code 

Remove the build from the pending queue. Has no effect if the build has already been started.


Class Variable Details

__iro__

Value:
(<InterfaceClass buildbot.interfaces.IBuildRequestControl>,
 <InterfaceClass zope.interface.Interface>)

__sro__

Value:
(<InterfaceClass buildbot.interfaces.IBuildRequestControl>,
 <InterfaceClass zope.interface.Interface>)