Package buildbot :: Package status :: Module slave :: Class SlaveStatus
[frames] | no frames]

Class SlaveStatus

source code

Instance Methods
__init__(self, name) source code
getName(self) source code
getAdmin(self) source code
getHost(self) source code
getAccessURI(self) source code
getVersion(self) source code
isConnected(self) source code
lastMessageReceived(self) source code
getRunningBuilds(self) source code
getConnectCount(self) source code
setAdmin(self, admin) source code
setHost(self, host) source code
setAccessURI(self, access_uri) source code
setVersion(self, version) source code
setConnected(self, isConnected) source code
setLastMessageReceived(self, when) source code
recordConnectTime(self) source code
buildStarted(self, build) source code
buildFinished(self, build) source code
Return the graceful shutdown flag
source code
setGraceful(self, graceful)
Set the graceful shutdown flag, and notify all the watchers
source code
addGracefulWatcher(self, watcher)
Add watcher to the list of watchers to be notified when the graceful shutdown flag is changed.
source code
removeGracefulWatcher(self, watcher)
Remove watcher from the list of watchers to be notified when the graceful shutdown flag is changed.
source code
asDict(self) source code
Object Specification Descriptor
source code
Special descriptor for class __provides__
Class Variables
  admin = None
  host = None
  access_uri = None
  version = None
  connected = False
  graceful_shutdown = False
  __implemented__ = <implementedBy buildbot.status.slave.SlaveSt...
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__]

Class Variable Details


<implementedBy buildbot.status.slave.SlaveStatus>