Package buildbot :: Module interfaces :: Class IScheduler
[hide private]
[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 [hide private]
 
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 [hide private]
  _InterfaceClass__attrs = {'addChange': <zope.interface.interfa...
  __bases__ = (<InterfaceClass zope.interface.Interface>)
  __identifier__ = 'buildbot.interfaces.IScheduler'
  __iro__ = (<InterfaceClass buildbot.interfaces.IScheduler>, <I...
  __name__ = 'IScheduler'
  __sro__ = (<InterfaceClass buildbot.interfaces.IScheduler>, <I...
  _implied = {<InterfaceClass buildbot.interfaces.IScheduler>: (...
  dependents = <WeakKeyDictionary at 45475600>

Inherited from zope.interface.Interface (private): _Element__tagged_values

Instance Variables [hide private]
L<buildbot.process.properties.Properties> properties
properties to be applied to all builds started by this scheduler
Method Details [hide private]

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 [hide private]

_InterfaceClass__attrs

Value:
{'addChange': <zope.interface.interface.Method object at 0x2b5db50>,
 'getPendingBuildTimes': <zope.interface.interface.Method object at 0x\
2b5db10>,
 'listBuilderNames': <zope.interface.interface.Method object at 0x2b5d\
b90>}

__iro__

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

__sro__

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

_implied

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