Package buildbot :: Module interfaces :: Class IChangeSource
[hide private]
[frames] | no frames]

Class IChangeSource

source code

zope.interface.Interface --+
                           |
                          IChangeSource

Object which feeds Change objects to the changemaster. When files or directories are changed and the version control system provides some kind of notification, this object should turn it into a Change object and pass it through:

 self.changemaster.addChange(change)
Instance Methods [hide private]
 
start()
Called when the buildmaster starts.
source code
 
stop()
Called when the buildmaster shuts down.
source code
 
describe()
Should return a string which briefly describes this source.
source code
Class Variables [hide private]
  _InterfaceClass__attrs = {'describe': <zope.interface.interfac...
  __bases__ = (<InterfaceClass zope.interface.Interface>)
  __identifier__ = 'buildbot.interfaces.IChangeSource'
  __iro__ = (<InterfaceClass buildbot.interfaces.IChangeSource>,...
  __name__ = 'IChangeSource'
  __sro__ = (<InterfaceClass buildbot.interfaces.IChangeSource>,...
  _implied = {<InterfaceClass buildbot.interfaces.IChangeSource>...
  dependents = <WeakKeyDictionary at 45474952>

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

Method Details [hide private]

start()

source code 

Called when the buildmaster starts. Can be used to establish connections to VC daemons or begin polling.

stop()

source code 

Called when the buildmaster shuts down. Connections should be terminated, polling timers should be canceled.

describe()

source code 

Should return a string which briefly describes this source. This string will be displayed in an HTML status page.


Class Variable Details [hide private]

_InterfaceClass__attrs

Value:
{'describe': <zope.interface.interface.Method object at 0x2b5d9d0>,
 'start': <zope.interface.interface.Method object at 0x2b5d990>,
 'stop': <zope.interface.interface.Method object at 0x2b5da10>}

__iro__

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

__sro__

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

_implied

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