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

Class SourceStampJsonResource

source code

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

Nested Classes

Inherited from twisted.web.resource.Resource: entityType

Instance Methods
 
__init__(self, status, source_stamp)
Adds transparent lazy-child initialization.
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__, delEntity, getChild, getChildForRequest, getDynamicEntity, getStaticEntity, listDynamicEntities, listDynamicNames, listEntities, listNames, listStaticEntities, listStaticNames, reallyPutEntity, render, render_HEAD

Class Variables
  help = 'Describe the sources for a BuildRequest.\n'
  title = 'SourceStamp'

Inherited from JsonResource: cache_seconds, contentType, level

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

Method Details

__init__(self, status, source_stamp)
(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)