Package buildbot :: Module interfaces :: Class IStatusEvent
[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
 
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
  __bases__ = (<InterfaceClass zope.interface.Interface>)
  __identifier__ = 'buildbot.interfaces.IStatusEvent'
  __iro__ = (<InterfaceClass buildbot.interfaces.IStatusEvent>, ...
  __name__ = 'IStatusEvent'
  __sro__ = (<InterfaceClass buildbot.interfaces.IStatusEvent>, ...
  dependents = <WeakKeyDictionary at 41424584>
Method Details

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

__iro__

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

__sro__

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