Package buildbot :: Module master :: Class BotMaster
[hide private]
[frames] | no frames]

Class BotMaster

source code

 twisted.application.service.Service --+    
                                       |    
twisted.application.service.MultiService --+
                                           |
                                          BotMaster

This is the master-side service which manages remote buildbot slaves. It provides them with BuildSlaves, and distributes file change notification messages to them.

Instance Methods [hide private]
 
__init__(self) source code
 
waitUntilBuilderAttached(self, name) source code
 
waitUntilBuilderDetached(self, name) source code
 
waitUntilBuilderFullyDetached(self, name) source code
 
waitUntilBuilderIdle(self, name) source code
 
loadConfig_Slaves(self, new_slaves) source code
 
addSlave(self, s) source code
 
removeSlave(self, s) source code
 
slaveLost(self, bot) source code
 
getBuildersForSlave(self, slavename) source code
 
getBuildernames(self) source code
 
getBuilders(self) source code
 
setBuilders(self, builders) source code
 
_updateAllSlaves(self)
Notify all buildslaves about changes in their Builders.
source code
 
maybeStartAllBuilds(self) source code
 
shouldMergeRequests(self, builder, req1, req2)
Determine whether two BuildRequests should be merged for the given builder.
source code
 
getPerspective(self, slavename) source code
 
shutdownSlaves(self) source code
 
stopService(self) source code
 
getLockByID(self, lockid)
Convert a Lock identifier into an actual Lock instance.
source code

Inherited from twisted.application.service.MultiService: __iter__, addService, getServiceNamed, privilegedStartService, removeService, startService

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

Class Variables [hide private]
  debug = 0

Inherited from twisted.application.service.MultiService: __implemented__, __provides__

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

Method Details [hide private]

__init__(self)
(Constructor)

source code 
Overrides: twisted.application.service.MultiService.__init__

stopService(self)

source code 
Overrides: twisted.application.service.Service.stopService

getLockByID(self, lockid)

source code 

Convert a Lock identifier into an actual Lock instance.

Parameters:
  • lockid - a locks.MasterLock or locks.SlaveLock instance
Returns:
a locks.RealMasterLock or locks.RealSlaveLock instance