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

Class ChangeManager

source code

       config.ReconfigurableServiceMixin --+
 twisted.application.service.Service --+   |
                                       |   |
twisted.application.service.MultiService --+

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, master) source code
reconfigService(*args, **kwargs) source code
Special descriptor for class __provides__

Inherited from config.ReconfigurableServiceMixin: __providedBy__

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

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

Class Variables
  name = 'changemanager'
  __implemented__ = <implementedBy buildbot.changes.manager.Chan...

Inherited from config.ReconfigurableServiceMixin: reconfig_priority

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

Method Details

__init__(self, master)

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

reconfigService(*args, **kwargs)

source code 
  • @defer.deferredGenerator
Overrides: config.ReconfigurableServiceMixin.reconfigService


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__]

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

Overrides: twisted.application.service.Service.__provides__

Class Variable Details


<implementedBy buildbot.changes.manager.ChangeManager>