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

Class BuildMaster

source code

 twisted.application.service.Service --+    
                                       |    
twisted.application.service.MultiService --+
                                           |
      twisted.persisted.styles.Versioned --+
                                           |
                                          BuildMaster

Instance Methods [hide private]
 
__init__(self, basedir, configFileName="master.cfg") source code
 
upgradeToVersion1(self) source code
 
upgradeToVersion2(self) source code
 
upgradeToVersion3(self) source code
 
startService(self) source code
 
useChanges(self, changes) source code
 
loadChanges(self) source code
 
_handleSIGHUP(self, *args) source code
buildbot.status.builder.Status
getStatus(self) source code
 
loadTheConfigFile(self, configFile=None) source code
 
loadConfig(self, f)
Internal function to load a specific configuration file.
source code
 
loadConfig_Slaves(self, new_slaves) source code
 
loadConfig_Sources(self, sources) source code
 
allSchedulers(self) source code
 
loadConfig_Schedulers(self, newschedulers) source code
 
loadConfig_Builders(self, newBuilderData) source code
 
loadConfig_status(self, status) source code
 
addChange(self, change) source code
 
submitBuildSet(self, bs) source code

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

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

Inherited from twisted.persisted.styles.Versioned: __setstate__, versionUpgrade

Class Variables [hide private]
  debug = 0
  persistenceVersion = 3
  manhole = None
hash(x)
  debugPassword = None
hash(x)
  projectName = "(unspecified)"
  projectURL = None
hash(x)
  buildbotURL = None
hash(x)
  change_svc = None
hash(x)
  properties = Properties()

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

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

Inherited from twisted.persisted.styles.Versioned: persistenceForgets

Method Details [hide private]

__init__(self, basedir, configFileName="master.cfg")
(Constructor)

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

startService(self)

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

loadConfig(self, f)

source code 

Internal function to load a specific configuration file. Any errors in the file will be signalled by raising an exception.

Returns:
a Deferred that will fire (with None) when the configuration changes have been completed. This may involve a round-trip to each buildslave that was involved.