Package conary :: Package build :: Module packagepolicy :: Class _filterSpec
[hide private]
[frames] | no frames]

Class _filterSpec

source code

  action.Action --+            
                  |            
action.RecipeAction --+        
                      |        
      policy.BasePolicy --+    
                          |    
              policy.Policy --+
                              |
                             _filterSpec
Known Subclasses:
ComponentSpec, PackageSpec

Pure virtual base class from which ComponentSpec and PackageSpec are derived.

Instance Methods [hide private]
 
__init__(self, *args, **keywords) source code
 
updateArgs(self, *args, **keywords)
Call derived classes (ComponentSpec or PackageSpec) as:
source code

Inherited from policy.Policy: compileFilters, do, doProcess, filterExpArgs, filterExpression, mtimeChanged, policyException, policyInclusion, walkDir

Inherited from policy.BasePolicy: dbg, error, info, postInit, postPolicy, warn

Inherited from policy.BasePolicy (private): _addClassName, _pathAllowed

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

Inherited from action.Action: addArgs

Inherited from action.Action (private): _applyDefaults

Class Variables [hide private]
  bucket = 8
  processUnmodified = False
allows special handling for derived packages in order to make only appropriate changes in the derived package.

Inherited from policy.Policy: filetree, invariantexceptions, invariantinclusions, invariantsubtrees, keywords, recursive, rootdir

Inherited from policy.BasePolicy: allowUnusedFilters

Method Details [hide private]

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

source code 
Overrides: policy.Policy.__init__
(inherited documentation)

updateArgs(self, *args, **keywords)

source code 
Call derived classes (ComponentSpec or PackageSpec) as:
   ThisClass('<name>', 'filterexp1', 'filterexp2')
where filterexp is either a regular expression or a tuple of (regexp[, setmodes[, unsetmodes]])
Overrides: policy.BasePolicy.updateArgs