Package buildbot :: Package changes :: Module manager :: Class ChangeManager
[frames] | no frames]

Class ChangeManager

source code

 twisted.application.service.Service --+    
                                       |    
twisted.application.service.MultiService --+
                                           |
                                          ChangeManager

This is the master-side service which receives file change notifications from version-control systems.

It is a Twisted service, which has instances of buildbot.interfaces.IChangeSource as child services. These are added by the master with addSource.

Instance Methods
 
__init__(self) source code
 
startService(self) source code
 
addSource(self, source) source code
 
removeSource(self, source) source code
 
__provides__(...)
Special descriptor for class __provides__

Inherited from twisted.application.service.MultiService: __iter__, addService, getServiceNamed, privilegedStartService, removeService, stopService

Inherited from twisted.application.service.Service: __getstate__, __providedBy__, disownServiceParent, setName, setServiceParent

Class Variables
  lastPruneChanges = None
hash(x)
  name = 'changemanager'
  __implemented__ = <implementedBy buildbot.changes.manager.Chan...

Inherited from twisted.application.service.Service: parent, running

Method Details

__init__(self)
(Constructor)

source code 
Overrides: twisted.application.service.MultiService.__init__

startService(self)

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

__provides__(...)

 
Special descriptor for class __provides__

The descriptor caches the implementedBy info, so that
we can get declarations for objects without instance-specific
interfaces a bit quicker.

For example:

  >>> from zope.interface import Interface
  >>> class IFooFactory(Interface):
  ...     pass
  >>> class IFoo(Interface):
  ...     pass
  >>> class C(object):
  ...     implements(IFoo)
  ...     classProvides(IFooFactory)
  >>> [i.getName() for i in C.__provides__]
  ['IFooFactory']

  >>> [i.getName() for i in C().__provides__]
  ['IFoo']

Overrides: twisted.application.service.Service.__provides__

Class Variable Details

__implemented__

Value:
<implementedBy buildbot.changes.manager.ChangeManager>