Package buildbot :: Package process :: Module factory :: Class BuildFactory
[frames] | no frames]

Class BuildFactory

source code

util.ComparableMixin --+
                       |
                      BuildFactory
Known Subclasses:

Nested Classes
buildbot.process.build.Build buildClass
class to use when creating builds
Instance Methods
 
__init__(self, steps=None) source code
 
newBuild(self, requests)
Create a new Build instance.
source code
 
addStep(self, step_or_factory, **kwargs) source code
 
addSteps(self, steps) source code

Inherited from util.ComparableMixin: __cmp__, __hash__, __providedBy__, __provides__

Class Variables
  useProgress = 1
  workdir = 'build'
  compare_attrs = ['buildClass', 'steps', 'useProgress', 'workdir']

Inherited from util.ComparableMixin: __implemented__

Method Details

newBuild(self, requests)

source code 

Create a new Build instance.

Parameters:
  • requests - a list of buildrequest dictionaries describing what is to be built