Package buildbot :: Module scheduler :: Class Periodic
[frames] | no frames]

Class Periodic

source code

 twisted.application.service.Service --+            
                                       |            
twisted.application.service.MultiService --+        
                                           |        
                    util.ComparableMixin --+        
                                           |        
                               BaseScheduler --+    
                                               |    
                           BaseUpstreamScheduler --+
                                                   |
                                                  Periodic

Instead of watching for Changes, this Scheduler can just start a build at fixed intervals. The periodicBuildTimer parameter sets the number of seconds to wait between such periodic builds. The first build will be run immediately.

Instance Methods
 
__init__(self, name, builderNames, periodicBuildTimer, branch=None, properties={}) source code
 
listBuilderNames(self) source code
 
getPendingBuildTimes(self) source code
 
doPeriodicBuild(self) source code

Inherited from BaseUpstreamScheduler: buildSetFinished, submitBuildSet, subscribeToSuccessfulBuilds, unsubscribeToSuccessfulBuilds

Inherited from BaseScheduler: __repr__, addChange

Inherited from twisted.application.service.MultiService: __iter__, addService, getServiceNamed, privilegedStartService, removeService, startService, stopService

Inherited from twisted.application.service.Service: __getstate__, __providedBy__, disownServiceParent, setName, setServiceParent

Inherited from util.ComparableMixin: __cmp__, __hash__

Class Variables
  compare_attrs = ('name', 'builderNames', 'periodicBuildTimer',...

Inherited from BaseUpstreamScheduler: __implemented__, __provides__

Inherited from twisted.application.service.Service: parent, running

Instance Variables

Inherited from BaseScheduler: name, properties

Method Details

__init__(self, name, builderNames, periodicBuildTimer, branch=None, properties={})
(Constructor)

source code 
Parameters:
  • name - name for this scheduler
  • properties - properties to be propagated from this scheduler
Overrides: twisted.application.service.MultiService.__init__

Class Variable Details

compare_attrs

Value:
('name', 'builderNames', 'periodicBuildTimer', 'branch', 'properties')