Package buildbot :: Module interfaces :: Class IScheduler
[frames] | no frames]

Class IScheduler

source code

zope.interface.Interface --+
                           |
                          IScheduler

I watch for Changes in the source tree and decide when to trigger Builds. I create BuildSet objects and submit them to the BuildMaster. I am a service, and the BuildMaster is always my parent.

Instance Methods
 
addChange(change)
A Change has just been dispatched by one of the ChangeSources.
source code
 
listBuilderNames()
Return a list of strings indicating the Builders that this Scheduler might feed.
source code
 
getPendingBuildTimes()
Return a list of timestamps for any builds that are waiting in the tree-stable-timer queue.
source code
Class Variables
  __bases__ = (<InterfaceClass zope.interface.Interface>)
  __identifier__ = 'buildbot.interfaces.IScheduler'
  __iro__ = (<InterfaceClass buildbot.interfaces.IScheduler>, <I...
  __name__ = 'IScheduler'
  __sro__ = (<InterfaceClass buildbot.interfaces.IScheduler>, <I...
  dependents = <WeakKeyDictionary at 9294768>
Instance Variables
L<buildbot.process.properties.Properties> properties
properties to be applied to all builds started by this scheduler
Method Details

addChange(change)

source code 

A Change has just been dispatched by one of the ChangeSources. Each Scheduler will receive this Change. I may decide to start a build as a result, or I might choose to ignore it.

getPendingBuildTimes()

source code 

Return a list of timestamps for any builds that are waiting in the tree-stable-timer queue. This is only relevant for Change-based schedulers, all others can just return an empty list.


Class Variable Details

__iro__

Value:
(<InterfaceClass buildbot.interfaces.IScheduler>,
 <InterfaceClass zope.interface.Interface>)

__sro__

Value:
(<InterfaceClass buildbot.interfaces.IScheduler>,
 <InterfaceClass zope.interface.Interface>)