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

This scheduler doesn't do anything until it is triggered by a Trigger step in a factory. In general, that step will not complete until all of the builds that I fire have finished.

Instance Methods
 
__init__(self, name, builderNames, properties={}) source code
 
trigger(self, ss, set_props=None)
Trigger this scheduler.
source code
 
run(self) source code

Inherited from base.BaseScheduler: compareToOther, create_buildset, getPendingBuildTimes, get_initial_state, 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__

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

Inherited from base.BaseScheduler: __implemented__, __provides__, upstream_name

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

Method Details

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

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

trigger(self, ss, set_props=None)

source code 

Trigger this scheduler. Returns a deferred that will fire when the buildset is finished.