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

Class IEventSource

source code

zope.interface.Interface --+
                           |
                          IEventSource

Instance Methods
 
eventGenerator(branches=[], categories=[], committers=[], minTime=0)
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
  __bases__ = (<InterfaceClass zope.interface.Interface>)
  __identifier__ = 'buildbot.interfaces.IEventSource'
  __iro__ = (<InterfaceClass buildbot.interfaces.IEventSource>, ...
  __name__ = 'IEventSource'
  __sro__ = (<InterfaceClass buildbot.interfaces.IEventSource>, ...
  dependents = <WeakKeyDictionary at 50977176>
Method Details

eventGenerator(branches=[], categories=[], committers=[], minTime=0)

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.
  • comitters - a list of committers. The generator should only return events caused by one of the listed committers. If the list is empty or None, events from every committers should be returned.
  • minTime - a timestamp. Do not generate events occuring prior to this timestamp.

Class Variable Details

__iro__

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

__sro__

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