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

Class BuildProgress

source code

 twisted.spread.jelly.Jellyable --+        
                                  |        
twisted.spread.flavors.Serializable --+    
                                      |    
   twisted.spread.flavors.Referenceable --+
                                          |
                                         BuildProgress

I keep track of overall build progress. I hold a list of StepProgress objects.

Instance Methods
 
__init__(self, stepProgresses) source code
 
setExpectationsFrom(self, exp)
Set our expectations from the builder's Expectations object.
source code
 
newExpectations(self)
Call this when one of the steps has changed its expectations.
source code
 
stepFinished(self, stepname) source code
 
newProgress(self) source code
 
remaining(self) source code
 
eta(self) source code
 
remote_subscribe(self, remote, interval=5) source code
 
remote_unsubscribe(self, remote) source code
 
removeWatcher(self, remote) source code
 
sendAllUpdates(self) source code
 
updateWatcher(self, remote) source code
 
startTimer(self, remote) source code
 
sendUpdate(self, remote, last=0) source code
 
watcherTimeout(self, remote) source code
 
sendLastUpdates(self) source code

Inherited from twisted.spread.flavors.Referenceable: jellyFor, remoteMessageReceived

Inherited from twisted.spread.flavors.Serializable: processUniqueID

Inherited from twisted.spread.jelly.Jellyable: __providedBy__, getStateFor

Class Variables

Inherited from twisted.spread.flavors.Referenceable: __implemented__, __provides__, perspective

Method Details

newExpectations(self)

source code 

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