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

Class IStatusEvent

source code

zope.interface.Interface --+
                           |
                          IStatusEvent

I represent a Builder Event, something non-Build related that can happen to a Builder.

Instance Methods [hide private]
 
getTimes()
Returns a tuple of (start, end) like IBuildStepStatus, but end==0 indicates that this is a 'point event', which has no duration.
source code
 
getText()
Returns a list of strings which describe the event.
source code
Class Variables [hide private]
  _InterfaceClass__attrs = {'getText': <zope.interface.interface...
  __bases__ = (<InterfaceClass zope.interface.Interface>)
  __identifier__ = 'buildbot.interfaces.IStatusEvent'
  __iro__ = (<InterfaceClass buildbot.interfaces.IStatusEvent>, ...
  __name__ = 'IStatusEvent'
  __sro__ = (<InterfaceClass buildbot.interfaces.IStatusEvent>, ...
  _implied = {<InterfaceClass buildbot.interfaces.IStatusEvent>:...
  dependents = <WeakKeyDictionary at 45514904>

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

Method Details [hide private]

getTimes()

source code 

Returns a tuple of (start, end) like IBuildStepStatus, but end==0 indicates that this is a 'point event', which has no duration. SlaveConnect/Disconnect are point events. Ping is not: it starts when requested and ends when the response (positive or negative) is returned

getText()

source code 

Returns a list of strings which describe the event. These are intended to be displayed in a narrow column. If more space is available, the caller should join them together with spaces before presenting them to the user.


Class Variable Details [hide private]

_InterfaceClass__attrs

Value:
{'getText': <zope.interface.interface.Method object at 0x2b69210>,
 'getTimes': <zope.interface.interface.Method object at 0x2b69250>}

__iro__

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

__sro__

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

_implied

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