Package buildbot :: Package process :: Module slavebuilder :: Class AbstractSlaveBuilder
[frames] | no frames]

Class AbstractSlaveBuilder

source code

 twisted.spread.jelly.Jellyable --+        
twisted.spread.flavors.Serializable --+    
   twisted.spread.flavors.Referenceable --+
Known Subclasses:

I am the master-side representative for one of the objects that lives in a remote buildbot. When a remote builder connects, I query it for command versions and then make it available to any Builds that are ready to run.

Instance Methods
__init__(self) source code
__repr__(self) source code
setBuilder(self, b) source code
getSlaveCommandVersion(self, command, oldversion=None) source code
isAvailable(self) source code
isBusy(self) source code
buildStarted(self) source code
buildFinished(self) source code
attached(self, slave, remote, commands) source code
prepare(self, builder_status, build) source code
ping(self, status=None)
Ping the slave to make sure it is still there.
source code
detached(self) source code

Inherited from twisted.spread.flavors.Referenceable: __provides__, jellyFor, remoteMessageReceived

Inherited from twisted.spread.flavors.Serializable: processUniqueID

Inherited from twisted.spread.jelly.Jellyable: __providedBy__, getStateFor

Class Variables

Inherited from twisted.spread.flavors.Referenceable: __implemented__, perspective

Method Details

attached(self, slave, remote, commands)

source code 
  • slave (buildbot.buildslave.BuildSlave) - the BuildSlave that represents the buildslave as a whole
  • remote (twisted.spread.pb.RemoteReference) - a reference to the
  • commands (dict: string -> string, or None) - provides the slave's version of each RemoteCommand

ping(self, status=None)

source code 

Ping the slave to make sure it is still there. Returns a Deferred that fires with True if it is.

  • status - if you point this at a BuilderStatus, a 'pinging' event will be pushed.