Package buildbot :: Package status :: Package web :: Module waterfall :: Class WaterfallStatusResource
[frames] | no frames]

Class WaterfallStatusResource

source code

twisted.web.resource.Resource --+    
                                |    
                   object --+   |    
                            |   |    
            base.ContextMixin --+    
                                |    
                base.HtmlResource --+
                                    |
                                   WaterfallStatusResource

This builds the main status page, with the waterfall display, and all child pages.

Nested Classes

Inherited from twisted.web.resource.Resource: entityType

Instance Methods
 
__init__(self, categories=None, num_events=200, num_events_max=None)
Initialize.
source code
 
getTitle(self, request) source code
 
getChangeManager(self, request) source code
 
get_reload_time(self, request) source code
 
isSuccess(self, builderStatus) source code
 
content(self, request, ctx)
Generate content using the standard layout and the result of the body method.
source code
 
buildGrid(self, request, builders) source code
 
phase2(self, request, sourceNames, timestamps, eventGrid, sourceEvents) source code

Inherited from base.HtmlResource: getChild, render

Inherited from twisted.web.resource.Resource: __providedBy__, __provides__, delEntity, getChildForRequest, getChildWithDefault, getDynamicEntity, getStaticEntity, listDynamicEntities, listDynamicNames, listEntities, listNames, listStaticEntities, listStaticNames, putChild, reallyPutEntity, render_HEAD

Inherited from base.ContextMixin: getAuthz, getBuildmaster, getContext, getStatus

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables

Inherited from base.HtmlResource: addSlash, contentType, title

Inherited from twisted.web.resource.Resource: __implemented__, isLeaf, server

Properties

Inherited from object: __class__

Method Details

__init__(self, categories=None, num_events=200, num_events_max=None)
(Constructor)

source code 

Initialize.

Overrides: object.__init__
(inherited documentation)

getTitle(self, request)

source code 
Overrides: base.ContextMixin.getTitle

content(self, request, ctx)

source code 

Generate content using the standard layout and the result of the body method.

This is suitable for the case where a resource just wants to generate the body of a page. It depends on another method, body, being defined to accept the request object and return a str. render will call this method and to generate the response body.

Overrides: base.HtmlResource.content
(inherited documentation)