Package buildbot :: Package status :: Module progress :: Class BuildProgress
[frames | no frames]

Class BuildProgress

Jellyable --+        
            |        
 Serializable --+    
                |    
    Referenceable --+
                    |
                   BuildProgress


I keep track of overall build progress. I hold a list of StepProgress objects.
Method Summary
  __init__(self, stepProgresses)
  eta(self)
  newExpectations(self)
Call this when one of the steps has changed its expectations.
  newProgress(self)
  remaining(self)
  remote_subscribe(self, remote, interval)
  remote_unsubscribe(self, remote)
  removeWatcher(self, remote)
  sendAllUpdates(self)
  sendLastUpdates(self)
  sendUpdate(self, remote, last)
  setExpectationsFrom(self, exp)
Set our expectations from the builder's Expectations object.
  startTimer(self, remote)
  stepFinished(self, stepname)
  updateWatcher(self, remote)
  watcherTimeout(self, remote)
    Inherited from Referenceable
  jellyFor(self, jellier)
(internal)
  remoteMessageReceived(self, broker, message, args, kw)
A remote message has been received.
    Inherited from Serializable
  processUniqueID(self)
Return an ID which uniquely represents this object for this process.
    Inherited from Jellyable
  getStateFor(self, jellier)

Class Variable Summary
    Inherited from Referenceable
Implements __implemented__ = <implementedBy twisted.spread.flavors....
ClassProvides __provides__ = <zope.interface.declarations.ClassProvide...
NoneType perspective = None                                                                  
    Inherited from Jellyable
ClassProvides __providedBy__ = <zope.interface.declarations.ClassProvi...

Method Details

newExpectations(self)

Call this when one of the steps has changed its expectations. This should trigger us to update our ETA value and notify any subscribers.

setExpectationsFrom(self, exp)

Set our expectations from the builder's Expectations object.

Generated by Epydoc 2.1 on Sun Dec 10 22:04:45 2006 http://epydoc.sf.net