Package buildbot :: Package schedulers :: Module triggerable :: Class Triggerable
[frames] | no frames]

Class Triggerable

source code

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

Nested Classes

Inherited from base.BaseScheduler: Thunk

Instance Methods
 
__init__(self, name, builderNames, properties={})
Initialize a Scheduler.
source code
 
trigger(self, ssid, set_props=None)
Trigger this scheduler with the given sourcestamp ID.
source code
 
stopService(self) source code

Inherited from base.BaseScheduler: addBuildsetForChanges, addBuildsetForLatest, addBuildsetForSourceStamp, getPendingBuildTimes, getState, gotChange, listBuilderNames, setState, startConsumingChanges, startService

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')

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, 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__

trigger(self, ssid, set_props=None)

source code 

Trigger this scheduler with the given sourcestamp ID. Returns a deferred that will fire when the buildset is finished.

stopService(self)

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