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

Class SlaveJsonResource

source code

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

Nested Classes

Inherited from twisted.web.resource.Resource: entityType

Instance Methods
 
__init__(self, status, slave_status)
Adds transparent lazy-child initialization.
source code
 
getBuilders(self) source code
 
asDict(self, request)
Generates the json dictionary.
source code

Inherited from JsonResource: 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 = 'Describe a slave.\n'
  pageTitle = 'Slave'

Inherited from JsonResource: cache_seconds, contentType, level

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

Method Details

__init__(self, status, slave_status)
(Constructor)

source code 

Adds transparent lazy-child initialization.

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

asDict(self, request)

source code 

Generates the json dictionary.

By default, renders every childs.

Overrides: JsonResource.asDict
(inherited documentation)