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

Class IBuildRequestControl

source code

zope.interface.Interface --+
                           |
                          IBuildRequestControl

Instance Methods [hide private]
 
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 [hide private]
  _InterfaceClass__attrs = {'cancel': <zope.interface.interface....
  __bases__ = (<InterfaceClass zope.interface.Interface>)
  __identifier__ = 'buildbot.interfaces.IBuildRequestControl'
  __iro__ = (<InterfaceClass buildbot.interfaces.IBuildRequestCo...
  __name__ = 'IBuildRequestControl'
  __sro__ = (<InterfaceClass buildbot.interfaces.IBuildRequestCo...
  _implied = {<InterfaceClass buildbot.interfaces.IBuildRequestC...
  dependents = <WeakKeyDictionary at 45516416>

Inherited from zope.interface.Interface (private): _Element__tagged_values

Method Details [hide private]

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 [hide private]

_InterfaceClass__attrs

Value:
{'cancel': <zope.interface.interface.Method object at 0x2b67210>,
 'subscribe': <zope.interface.interface.Method object at 0x2b67250>,
 'unsubscribe': <zope.interface.interface.Method object at 0x2b67290>}

__iro__

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

__sro__

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

_implied

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