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
 
getGraceful(self)
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
 
__providedBy__(...)
Object Specification Descriptor
source code
 
__provides__(...)
Special descriptor for class __provides__
Class Variables
  admin = None
hash(x)
  host = None
hash(x)
  access_uri = None
hash(x)
  version = None
hash(x)
  connected = False
  graceful_shutdown = False
  __implemented__ = <implementedBy buildbot.status.slave.SlaveSt...
Method Details

__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.status.slave.SlaveStatus>