Package buildbot :: Module master :: Class BotMaster
[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
 
__init__(self) source code
 
setMasterName(self, name, incarnation) source code
 
cleanShutdown(self) source code
 
cancelCleanShutdown(self) source code
 
trigger_add_buildrequest(self, category, *brids) source code
 
triggerNewBuildCheck(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
 
shouldMergeRequests(self, builder, req1, req2)
Determine whether two BuildRequests should be merged for the given builder.
source code
 
getPerspective(self, mind, 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
  debug = 0
  reactor = reactor

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

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

Method Details

__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