Package buildbot :: Package status :: Package web :: Module status_json :: Class JsonStatusResource
[frames] | no frames]

Class JsonStatusResource

source code

twisted.web.resource.Resource --+    
                                |    
                     JsonResource --+
                                    |
                                   JsonStatusResource

Retrieves all json data.

Nested Classes

Inherited from twisted.web.resource.Resource: entityType

Instance Methods
 
__init__(self, status)
Adds transparent lazy-child initialization.
source code
 
content(self, request)
Renders the json dictionaries.
source code
 
hackExamples(self) source code

Inherited from JsonResource: asDict, getChildWithDefault, putChild, render_GET

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

Class Variables
  help = 'JSON status\n\nRoot page to give a fair amount of info...
  pageTitle = 'Buildbot JSON'

Inherited from JsonResource: cache_seconds, contentType, level

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

Method Details

__init__(self, status)
(Constructor)

source code 

Adds transparent lazy-child initialization.

Overrides: twisted.web.resource.Resource.__init__
(inherited documentation)

content(self, request)

source code 

Renders the json dictionaries.

Overrides: JsonResource.content
(inherited documentation)

Class Variable Details

help

Value:
'''JSON status

Root page to give a fair amount of information in the current buildbot\
 master
status. You may want to use a child instead to reduce the load on the \
server.

For help on any sub directory, use url /child/help
...