Trees | Indices | Help |
|
---|
|
twisted.persisted.styles.Versioned --+ | BuilderStatus
I handle status information for a single process.base.Builder object. That object sends status changes to me (frequently as Events), and I provide them on demand to the various status recipients, like the HTML waterfall display and the live status clients. It also sends build summaries to me, which I log and provide to status clients who aren't interested in seeing details of the individual build steps.
I am responsible for maintaining the list of historic Events and Builds, pruning old ones, and loading them from / saving them to disk.
I live in the buildbot.process.base.Builder object, in the .builder_status attribute.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
Class Variables | |
persistenceVersion = 1
|
|
persistenceForgets =
|
|
buildCacheSize = 15
|
|
eventHorizon = 50
|
|
logHorizon = 40
|
|
buildHorizon = 100
|
|
currentBigState =
|
|
basedir = None hash(x) |
|
__implemented__ = <implementedBy buildbot.status.builder.Build
|
Instance Variables | |
string |
category = None user-defined category this builder belongs to; can be used to filter on in status clients |
Method Details |
Get state, adding a version number to it on its way out.
|
|
Scan our directory of saved BuildStatus instances to determine what our self.nextBuildNumber should be. Set it one larger than the highest-numbered build we discover. This is called by the top-level Status object shortly after we are created or loaded from disk. |
The Builder has decided to start a build, but the Build object is not yet ready to report status (it has not finished creating the Steps). Create a BuildStatus object that it can use. |
Special descriptor for class __provides__ The descriptor caches the implementedBy info, so that we can get declarations for objects without instance-specific interfaces a bit quicker. For example: >>> from zope.interface import Interface >>> class IFooFactory(Interface): ... pass >>> class IFoo(Interface): ... pass >>> class C(object): ... implements(IFoo) ... classProvides(IFooFactory) >>> [i.getName() for i in C.__provides__] ['IFooFactory'] >>> [i.getName() for i in C().__provides__] ['IFoo']
|
Class Variable Details |
__implemented__
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sun Dec 19 18:26:45 2010 | http://epydoc.sourceforge.net |