Package buildbot :: Module scheduler :: Class Triggerable
[frames] | no frames]

Class Triggerable

source code

 twisted.application.service.Service --+            
                                       |            
twisted.application.service.MultiService --+        
                                           |        
                    util.ComparableMixin --+        
                                           |        
                               BaseScheduler --+    
                                               |    
                           BaseUpstreamScheduler --+
                                                   |
                                                  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
 
listBuilderNames(self) source code
 
getPendingBuildTimes(self) source code
 
trigger(self, ss, set_props=None)
Trigger this scheduler.
source code

Inherited from BaseUpstreamScheduler: buildSetFinished, submitBuildSet, subscribeToSuccessfulBuilds, unsubscribeToSuccessfulBuilds

Inherited from BaseScheduler: __repr__, addChange

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 BaseUpstreamScheduler: __implemented__, __provides__

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

Instance Variables

Inherited from BaseScheduler: name, properties

Method Details

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

source code 
Parameters:
  • name - name for this scheduler
  • properties - properties to be propagated from this scheduler
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.