Package conary :: Package build :: Module source :: Class addPostRollbackScript
[hide private]
[frames] | no frames]

Class addPostRollbackScript

source code

  action.Action --+            
                  |            
action.RecipeAction --+        
                      |        
             _AnySource --+    
                          |    
                TroveScript --+
                              |
                             addPostRollbackScript

NAME

r.addPostRollbackScript() - Specify the post rollback script for a trove.

SYNOPSIS

r.addPostRollbackScript(sourcename, I[{contents},] [groupName]

DESCRIPTION

The r.addPostRollbackScript command specifies the post rollback script for a group. This script is run after the group defining the script has been rolled back to a previous version of the group.

PARAMETERS

The r.addPostRollbackScript() command accepts the following parameters, with default values shown in parentheses:

contents : (None) The contents of the script groupName : (None) The name of the group to add the script to toClass : (None) The trove compatibility classes this script is able to support rollbacks to. This may be a single integer or a list of integers.

Instance Methods [hide private]
 
__init__(self, *args, **kwargs) source code

Inherited from TroveScript: do, doDownload, fetch, fetchLocal, getPath

Inherited from action.RecipeAction: doAction, doPrep, doSuggestAutoBuildReqs, init_error

Inherited from action.Action: addArgs

Inherited from action.Action (private): _applyDefaults

Class Variables [hide private]
  _scriptName = 'postRollbackScripts'
  keywords = {'contents': None, 'groupName': None, 'toClass': None}
The keywords and default values accepted by the class
Method Details [hide private]

__init__(self, *args, **kwargs)
(Constructor)

source code 
Overrides: TroveScript.__init__