Package buildbot :: Package changes :: Module base :: Class ChangeSource
[frames] | no frames]

Class ChangeSource

source code

twisted.application.service.Service --+
               util.ComparableMixin --+
Known Subclasses:

Instance Methods
describe(self) source code
Special descriptor for class __provides__

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

Inherited from util.ComparableMixin: __cmp__, __hash__

Class Variables
  master = None
if self.running is true, then cs.master points to the buildmaster.
  __implemented__ = <implementedBy buildbot.changes.base.ChangeS...

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

Inherited from util.ComparableMixin: compare_attrs

Method Details


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: util.ComparableMixin.__provides__

Class Variable Details


<implementedBy buildbot.changes.base.ChangeSource>