Package buildbot :: Package schedulers :: Module basic :: Class SingleBranchScheduler
[frames] | no frames]

Class SingleBranchScheduler

source code

 twisted.application.service.Service --+            
                                       |            
twisted.application.service.MultiService --+        
                                           |        
                    util.ComparableMixin --+        
                                           |        
                              object --+   |        
                                       |   |        
                   util.state.StateMixin --+        
                                           |        
                          base.BaseScheduler --+    
                                               |    
                              BaseBasicScheduler --+
                                                   |
                                                  SingleBranchScheduler
Known Subclasses:

Nested Classes

Inherited from BaseBasicScheduler: NotSet

Instance Methods
 
__init__(self, name, createAbsoluteSourceStamps=False, **kwargs)
Initialize a Scheduler.
source code
 
preStartConsumingChanges(self) source code
 
gotChange(self, change, important)
Called when a change is received; returns a Deferred.
source code
 
getCodebaseDict(self, codebase) source code
 
getChangeFilter(self, branch, branches, change_filter, categories) source code
 
getTimerNameForChange(self, change) source code
 
getChangeClassificationsForTimer(self, objectid, timer_name)
similar to db.schedulers.getChangeClassifications, but given timer name
source code

Inherited from BaseBasicScheduler: getPendingBuildTimes, scanExistingClassifiedChanges, stableTimerFired, startService, stopService

Inherited from base.BaseScheduler: addBuildsetForChanges, addBuildsetForLatest, addBuildsetForSourceStamp, addBuildsetForSourceStampDetails, addBuildsetForSourceStampSetDetails, findNewSchedulerInstance, listBuilderNames, startConsumingChanges

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__

Inherited from util.state.StateMixin: getState, setState

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables

Inherited from BaseBasicScheduler: compare_attrs, fileIsImportant

Inherited from base.BaseScheduler: DefaultCodebases, __implemented__, __provides__

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

Instance Variables

Inherited from base.BaseScheduler: builderNames, name, properties

Properties

Inherited from object: __class__

Method Details

__init__(self, name, createAbsoluteSourceStamps=False, **kwargs)
(Constructor)

source code 

Initialize a Scheduler.

Parameters:
  • onlyImportant - If True, only important changes will be added to the buildset.
Overrides: object.__init__
(inherited documentation)

preStartConsumingChanges(self)

source code 
Overrides: BaseBasicScheduler.preStartConsumingChanges

gotChange(self, change, important)

source code 

Called when a change is received; returns a Deferred. If the fileIsImportant parameter to startConsumingChanges was None, then all changes are considered important. The codebase of the change has always an entry in the codebases dictionary of the scheduler.

Parameters:
  • change - the new change object
  • important - true if this is an important change, according to fileIsImportant.
Returns:
Deferred
Overrides: base.BaseScheduler.gotChange
(inherited documentation)

getCodebaseDict(self, codebase)

source code 
Overrides: base.BaseScheduler.getCodebaseDict

getChangeFilter(self, branch, branches, change_filter, categories)

source code 
Overrides: BaseBasicScheduler.getChangeFilter

getTimerNameForChange(self, change)

source code 
Overrides: BaseBasicScheduler.getTimerNameForChange

getChangeClassificationsForTimer(self, objectid, timer_name)

source code 

similar to db.schedulers.getChangeClassifications, but given timer name

Overrides: BaseBasicScheduler.getChangeClassificationsForTimer
(inherited documentation)