Package buildbot :: Package status :: Package web :: Module builder :: Class PingBuilderActionResource
[frames] | no frames]

Class PingBuilderActionResource

source code

twisted.web.resource.Resource --+    
                                |    
                   object --+   |    
                            |   |    
           base.AccessorMixin --+    
                                |    
              base.ActionResource --+
                                    |
                                   PingBuilderActionResource

Nested Classes

Inherited from twisted.web.resource.Resource: entityType

Instance Methods
 
__init__(self, builder_status)
Initialize.
source code
 
performAction(*args, **kwargs)
Perform the action, and return the URL to redirect to
source code

Inherited from base.ActionResource: 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.AccessorMixin: getAuthz, getBuildmaster, getPageTitle, getStatus

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

Class Variables

Inherited from base.ActionResource: isLeaf

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

Properties

Inherited from object: __class__

Method Details

__init__(self, builder_status)
(Constructor)

source code 

Initialize.

Overrides: object.__init__
(inherited documentation)

performAction(*args, **kwargs)

source code 

Perform the action, and return the URL to redirect to

Parameters:
  • request - the web request
Returns:
URL via Deferred can also return (URL, alert_msg) to display simple feedback to user in case of failure
Decorators:
  • @defer.deferredGenerator
Overrides: base.ActionResource.performAction
(inherited documentation)