Package buildbot :: Module interfaces :: Class IChangeSource
[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
 
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
  __bases__ = (<InterfaceClass zope.interface.Interface>)
  __identifier__ = 'buildbot.interfaces.IChangeSource'
  __iro__ = (<InterfaceClass buildbot.interfaces.IChangeSource>,...
  __name__ = 'IChangeSource'
  __sro__ = (<InterfaceClass buildbot.interfaces.IChangeSource>,...
  dependents = <WeakKeyDictionary at 9295056>
Method Details

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

__iro__

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

__sro__

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