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

Nested Classes

Inherited from base.BaseScheduler: Thunk

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: addBuildsetForChanges, addBuildsetForLatest, addBuildsetForSourceStamp, getPendingBuildTimes, getState, gotChange, listBuilderNames, setState, startConsumingChanges, stopService

Inherited from twisted.application.service.MultiService: __iter__, __provides__, 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 twisted.application.service.MultiService: __implemented__

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

Instance Variables

Inherited from base.BaseScheduler: builderNames, master, name, properties, schedulerid

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