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

Class MetricsJsonResource

source code

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

Nested Classes

Inherited from twisted.web.resource.Resource: entityType

Instance Methods
 
asDict(self, request)
Generates the json dictionary.
source code

Inherited from JsonResource: __init__, content, 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 = 'Master metrics.\n'
  title = 'Metrics'

Inherited from JsonResource: cache_seconds, contentType, level, pageTitle

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

Method Details

asDict(self, request)

source code 

Generates the json dictionary.

By default, renders every childs.

Overrides: JsonResource.asDict
(inherited documentation)