Package buildbot :: Package process :: Module buildstep :: Class LogObserver
[frames] | no frames]

Class LogObserver

source code

Known Subclasses:

Instance Methods
 
setStep(self, step) source code
 
setLog(self, loog) source code
 
logChunk(self, build, step, log, channel, text) source code
 
outReceived(self, data)
This will be called with chunks of stdout data.
source code
 
errReceived(self, data)
This will be called with chunks of stderr data.
source code
 
__providedBy__(...)
Object Specification Descriptor
source code
 
__provides__(...)
Special descriptor for class __provides__
Class Variables
  __implemented__ = <implementedBy buildbot.process.buildstep.Lo...
Method Details

outReceived(self, data)

source code 

This will be called with chunks of stdout data. Override this in your observer.

errReceived(self, data)

source code 

This will be called with chunks of stderr data. Override this in your observer.

__provides__(...)

 
Special descriptor for class __provides__

The descriptor caches the implementedBy info, so that
we can get declarations for objects without instance-specific
interfaces a bit quicker.

For example:

  >>> from zope.interface import Interface
  >>> class IFooFactory(Interface):
  ...     pass
  >>> class IFoo(Interface):
  ...     pass
  >>> class C(object):
  ...     implements(IFoo)
  ...     classProvides(IFooFactory)
  >>> [i.getName() for i in C.__provides__]
  ['IFooFactory']

  >>> [i.getName() for i in C().__provides__]
  ['IFoo']


Class Variable Details

__implemented__

Value:
<implementedBy buildbot.process.buildstep.LogObserver>