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

Class StopChangeAllResource

source code

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

Nested Classes

Inherited from twisted.web.resource.Resource: entityType

Instance Methods
 
__init__(self, status)
Initialize.
source code
 
performAction(*args, **kwargs)
Cancel all pending builds that include a given numbered change.
source code

Inherited from StopChangeMixin: stopChangeForBuilder

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, status)
(Constructor)

source code 

Initialize.

Overrides: object.__init__
(inherited documentation)

performAction(*args, **kwargs)

source code 

Cancel all pending builds that include a given numbered change.

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