Package buildbot :: Module config :: Class ReconfigurableServiceMixin
[frames] | no frames]

Class ReconfigurableServiceMixin

source code

Known Subclasses:

Instance Methods
 
reconfigService(*args, **kwargs) source code
 
__providedBy__(...)
Object Specification Descriptor
source code
 
__provides__(...)
Special descriptor for class __provides__
Class Variables
  reconfig_priority = 128
  __implemented__ = <implementedBy buildbot.config.Reconfigurabl...
Method Details

reconfigService(*args, **kwargs)

source code 
Decorators:
  • @defer.deferredGenerator

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


Class Variable Details

__implemented__

Value:
<implementedBy buildbot.config.ReconfigurableServiceMixin>