diff -r 7685cec9fd3c -r f2ddfa555b0f doc/api/python/archive.mappers.PolicyRemoverMapper-class.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doc/api/python/archive.mappers.PolicyRemoverMapper-class.html Fri Sep 11 11:54:49 2009 +0100 @@ -0,0 +1,322 @@ + + + + + archive.mappers.PolicyRemoverMapper + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + Package archive :: + Module mappers :: + Class PolicyRemoverMapper + + + + + + +
[hide private]
[frames] | no frames]
+
+ +

Class PolicyRemoverMapper

source code

+
+object --+        
+         |        
+    Mapper --+    
+             |    
+  PolicyMapper --+
+                 |
+                PolicyRemoverMapper
+
+ +
+

This class implements a variant of the policy mapper.

+

It removes the internal source. Only binary flagged content is kept.



+ + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Instance Methods[hide private]
+
+   + + + + + + +
__init__(self, + config, + archiver)
+ Initialization.
+ source code + +
+ +
+   + + + + + + +
get_policy_root_dir(self)
+ Return the policy.root.dir or root.dir if not set or not under root.dir.
+ source code + +
+ +
+   + + + + + + +
get_rmdir_policy(self, + dirname)
+ check if the directory should be dropped or not
+ source code + +
+ +
+   + + + + + + +
create_commands(self, + manifest)
+ Generates a list of build commands.
+ source code + +
+ +
+

Inherited from PolicyMapper: + get_dir_policy, + get_policy_filenames, + load_policy_binary, + zip2zip +

+

Inherited from PolicyMapper (private): + _sort_by_policy +

+

Inherited from Mapper: + declare_package +

+

Inherited from object: + __delattr__, + __getattribute__, + __hash__, + __new__, + __reduce__, + __reduce_ex__, + __repr__, + __setattr__, + __str__ +

+
+ + + + + + + + + +
+ + + + + +
Properties[hide private]
+
+

Inherited from object: + __class__ +

+
+ + + + + + +
+ + + + + +
Method Details[hide private]
+
+ +
+ +
+ + +
+

__init__(self, + config, + archiver) +
(Constructor) +

+
source code  +
+ + Initialization. +
+
Overrides: + PolicyMapper.__init__ +
+
+
+
+ +
+ +
+ + +
+

create_commands(self, + manifest) +

+
source code  +
+ + Generates a list of build commands. +
+
Overrides: + PolicyMapper.create_commands +
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + +