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

Class IEventSource

source code

zope.interface.Interface --+
                           |
                          IEventSource

Instance Methods [hide private]
 
eventGenerator(branches=[], categories=[])
This function creates a generator which will yield all of this object's status events, starting with the most recent and progressing backwards in time.
source code
Class Variables [hide private]
  _InterfaceClass__attrs = {'eventGenerator': <zope.interface.in...
  __bases__ = (<InterfaceClass zope.interface.Interface>)
  __identifier__ = 'buildbot.interfaces.IEventSource'
  __iro__ = (<InterfaceClass buildbot.interfaces.IEventSource>, ...
  __name__ = 'IEventSource'
  __sro__ = (<InterfaceClass buildbot.interfaces.IEventSource>, ...
  _implied = {<InterfaceClass buildbot.interfaces.IEventSource>:...
  dependents = <WeakKeyDictionary at 45505136>

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

Method Details [hide private]

eventGenerator(branches=[], categories=[])

source code 

This function creates a generator which will yield all of this object's status events, starting with the most recent and progressing backwards in time. These events provide the IStatusEvent interface. At the moment they are all instances of buildbot.status.builder.Event or buildbot.status.builder.BuildStepStatus .

Parameters:
  • branches - a list of branch names. The generator should only return events that are associated with these branches. If the list is empty, events for all branches should be returned (i.e. an empty list means 'accept all' rather than 'accept none').
  • categories - a list of category names. The generator should only return events that are categorized within the given category. If the list is empty, events for all categories should be returned.

Class Variable Details [hide private]

_InterfaceClass__attrs

Value:
{'eventGenerator': <zope.interface.interface.Method object at 0x2b6645\
0>}

__iro__

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

__sro__

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

_implied

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