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 --+    
                                           |    
                              object --+   |    
                                       |   |    
                   util.state.StateMixin --+    
                                           |    
                          base.BaseScheduler --+
                                               |
                                              Triggerable

Instance Methods
 
__init__(self, name, builderNames, properties={}, **kwargs)
Initialize a Scheduler.
source code
 
trigger(self, sourcestamps=None, set_props=None)
Trigger this scheduler with the optional given list of sourcestamps Returns a deferred that will fire when the buildset is finished.
source code
 
stopService(self) source code

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

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
  compare_attrs = ('name', 'builderNames', 'properties', 'codeba...
  __implemented__ = <implementedBy buildbot.schedulers.triggerab...
  __provides__ = <zope.interface.declarations.ClassProvides obje...

Inherited from base.BaseScheduler: DefaultCodebases

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, builderNames, properties={}, **kwargs)
(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
  • codebases - codebases that are necessary to process the changes
  • 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: object.__init__
(inherited documentation)

stopService(self)

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

Class Variable Details

compare_attrs

Value:
('name', 'builderNames', 'properties', 'codebases')

__implemented__

Value:
<implementedBy buildbot.schedulers.triggerable.Triggerable>

__provides__

Value:
<zope.interface.declarations.ClassProvides object at 0x2733fd0>