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

Class IBuildRequestStatus

source code

zope.interface.Interface --+
                           |
                          IBuildRequestStatus

I represent a request to build a particular set of source code on a particular Builder. These requests may be merged by the time they are finally turned into a Build.

Instance Methods [hide private]
 
getSourceStamp()
Return a SourceStamp object which can be used to re-create the source tree that this build used.
source code
 
getBuilderName() source code
 
getBuilds()
Return a list of IBuildStatus objects for each Build that has been started in an attempt to satify this BuildRequest.
source code
 
subscribe(observer)
Register a callable that will be invoked (with a single IBuildStatus 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
 
getSubmitTime()
Return the time when this request was submitted
source code
 
setSubmitTime(t)
Sets the time when this request was submitted
source code
Class Variables [hide private]
  _InterfaceClass__attrs = {'getBuilderName': <zope.interface.in...
  __bases__ = (<InterfaceClass zope.interface.Interface>)
  __identifier__ = 'buildbot.interfaces.IBuildRequestStatus'
  __iro__ = (<InterfaceClass buildbot.interfaces.IBuildRequestSt...
  __name__ = 'IBuildRequestStatus'
  __sro__ = (<InterfaceClass buildbot.interfaces.IBuildRequestSt...
  _implied = {<InterfaceClass buildbot.interfaces.IBuildRequestS...
  dependents = <WeakKeyDictionary at 45503984>

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

Method Details [hide private]

getSourceStamp()

source code 

Return a SourceStamp object which can be used to re-create the source tree that this build used. This method will return an absolute SourceStamp if possible, and its results may change as the build progresses. Specifically, a "HEAD" build may later be more accurately specified by an absolute SourceStamp with the specific revision information.

This method will return None if the source information is no longer available.

subscribe(observer)

source code 

Register a callable that will be invoked (with a single IBuildStatus 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.


Class Variable Details [hide private]

_InterfaceClass__attrs

Value:
{'getBuilderName': <zope.interface.interface.Method object at 0x2b64c1\
0>,
 'getBuilds': <zope.interface.interface.Method object at 0x2b64a90>,
 'getSourceStamp': <zope.interface.interface.Method object at 0x2b64ad\
0>,
 'getSubmitTime': <zope.interface.interface.Method object at 0x2b64b50\
>,
 'setSubmitTime': <zope.interface.interface.Method object at 0x2b64bd0\
...

__iro__

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

__sro__

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

_implied

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