Package buildbot :: Package schedulers :: Module trysched :: Class Try_Jobdir
[frames] | no frames]

Class Try_Jobdir

source code

 twisted.application.service.Service --+            
                                       |            
twisted.application.service.MultiService --+        
                                           |        
                    util.ComparableMixin --+        
                                           |        
                          base.BaseScheduler --+    
                                               |    
                                         TryBase --+
                                                   |
                                                  Try_Jobdir

Instance Methods
 
__init__(self, name, builderNames, jobdir, properties={})
Initialize a Scheduler.
source code
 
startService(self) source code
 
parseJob(self, f) source code
 
handleJobFile(self, filename, f) source code

Inherited from TryBase: filterBuilderList

Inherited from base.BaseScheduler: __provides__, addBuildsetForChanges, addBuildsetForChangesMultiRepo, addBuildsetForLatest, addBuildsetForSourceStamp, findNewSchedulerInstance, getPendingBuildTimes, getState, gotChange, listBuilderNames, setState, startConsumingChanges, stopService

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

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

Inherited from util.ComparableMixin: __cmp__, __hash__

Class Variables
  compare_attrs = ('name', 'builderNames', 'properties', 'jobdir')

Inherited from base.BaseScheduler: __implemented__

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

Instance Variables

Inherited from base.BaseScheduler: builderNames, name, properties

Method Details

__init__(self, name, builderNames, jobdir, properties={})
(Constructor)

source code 

Initialize a Scheduler.

Parameters:
  • name - name of this scheduler (used as a key for state)
  • builderNames - list of builders this scheduler may start
  • properties - properties to add to builds triggered by this scheduler
  • consumeChanges - true if this scheduler wishes to be informed about the addition of new changes. Defaults to False. This should be passed explicitly from subclasses to indicate their interest in consuming changes.
Overrides: twisted.application.service.MultiService.__init__

startService(self)

source code 
Overrides: twisted.application.service.Service.startService