Package buildbot :: Package schedulers :: Module timed :: Class Periodic
[frames] | no frames]

Class Periodic

source code

 twisted.application.service.Service --+        
                                       |        
twisted.application.service.MultiService --+    
                                           |    
                    util.ComparableMixin --+    
                                           |    
                          base.BaseScheduler --+
                                               |
                             TimedBuildMixin --+
                                               |
                                              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
 
get_initial_state(self, max_changeid) source code
 
getPendingBuildTimes(self) source code
 
run(self) source code

Inherited from base.BaseScheduler: __provides__, compareToOther, create_buildset, get_state, listBuilderNames, set_state

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__

Inherited from TimedBuildMixin: start_HEAD_build, start_requested_build, update_last_build

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

Inherited from base.BaseScheduler: __implemented__, upstream_name

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

Method Details

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

source code 
Overrides: twisted.application.service.MultiService.__init__

get_initial_state(self, max_changeid)

source code 
Overrides: base.BaseScheduler.get_initial_state

getPendingBuildTimes(self)

source code 
Overrides: base.BaseScheduler.getPendingBuildTimes

Class Variable Details

compare_attrs

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