|
1 <?xml version="1.0" encoding="ascii"?> |
|
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
|
3 "DTD/xhtml1-transitional.dtd"> |
|
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
|
5 <head> |
|
6 <title>archive.mappers.PolicyRemoverMapper</title> |
|
7 <link rel="stylesheet" href="epydoc.css" type="text/css" /> |
|
8 <script type="text/javascript" src="epydoc.js"></script> |
|
9 </head> |
|
10 |
|
11 <body bgcolor="white" text="black" link="blue" vlink="#204080" |
|
12 alink="#204080"> |
|
13 <!-- ==================== NAVIGATION BAR ==================== --> |
|
14 <table class="navbar" border="0" width="100%" cellpadding="0" |
|
15 bgcolor="#a0c0ff" cellspacing="0"> |
|
16 <tr valign="middle"> |
|
17 |
|
18 <!-- Tree link --> |
|
19 <th> <a |
|
20 href="module-tree.html">Trees</a> </th> |
|
21 |
|
22 <!-- Index link --> |
|
23 <th> <a |
|
24 href="identifier-index.html">Indices</a> </th> |
|
25 |
|
26 <!-- Help link --> |
|
27 <th> <a |
|
28 href="help.html">Help</a> </th> |
|
29 |
|
30 <th class="navbar" width="100%"></th> |
|
31 </tr> |
|
32 </table> |
|
33 <table width="100%" cellpadding="0" cellspacing="0"> |
|
34 <tr valign="top"> |
|
35 <td width="100%"> |
|
36 <span class="breadcrumbs"> |
|
37 <a href="archive-module.html">Package archive</a> :: |
|
38 <a href="archive.mappers-module.html">Module mappers</a> :: |
|
39 Class PolicyRemoverMapper |
|
40 </span> |
|
41 </td> |
|
42 <td> |
|
43 <table cellpadding="0" cellspacing="0"> |
|
44 <!-- hide/show private --> |
|
45 <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink" |
|
46 onclick="toggle_private();">hide private</a>]</span></td></tr> |
|
47 <tr><td align="right"><span class="options" |
|
48 >[<a href="frames.html" target="_top">frames</a |
|
49 >] | <a href="archive.mappers.PolicyRemoverMapper-class.html" |
|
50 target="_top">no frames</a>]</span></td></tr> |
|
51 </table> |
|
52 </td> |
|
53 </tr> |
|
54 </table> |
|
55 <!-- ==================== CLASS DESCRIPTION ==================== --> |
|
56 <h1 class="epydoc">Class PolicyRemoverMapper</h1><span class="codelink"><a href="archive.mappers-pysrc.html#PolicyRemoverMapper">source code</a></span><br /><br /> |
|
57 <pre class="base-tree"> |
|
58 object --+ |
|
59 | |
|
60 <a href="archive.mappers.Mapper-class.html">Mapper</a> --+ |
|
61 | |
|
62 <a href="archive.mappers.PolicyMapper-class.html">PolicyMapper</a> --+ |
|
63 | |
|
64 <strong class="uidshort">PolicyRemoverMapper</strong> |
|
65 </pre> |
|
66 |
|
67 <hr /> |
|
68 <p>This class implements a variant of the policy mapper.</p> |
|
69 <p>It removes the internal source. Only binary flagged content is kept.</p><br /><br /> |
|
70 |
|
71 <!-- ==================== INSTANCE METHODS ==================== --> |
|
72 <a name="section-InstanceMethods"></a> |
|
73 <table class="summary" border="1" cellpadding="3" |
|
74 cellspacing="0" width="100%" bgcolor="white"> |
|
75 <tr bgcolor="#70b0f0" class="table-header"> |
|
76 <td colspan="2" class="table-header"> |
|
77 <table border="0" cellpadding="0" cellspacing="0" width="100%"> |
|
78 <tr valign="top"> |
|
79 <td align="left"><span class="table-header">Instance Methods</span></td> |
|
80 <td align="right" valign="top" |
|
81 ><span class="options">[<a href="#section-InstanceMethods" |
|
82 class="privatelink" onclick="toggle_private();" |
|
83 >hide private</a>]</span></td> |
|
84 </tr> |
|
85 </table> |
|
86 </td> |
|
87 </tr> |
|
88 <tr> |
|
89 <td width="15%" align="right" valign="top" class="summary"> |
|
90 <span class="summary-type"> </span> |
|
91 </td><td class="summary"> |
|
92 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
93 <tr> |
|
94 <td><span class="summary-sig"><a href="archive.mappers.PolicyRemoverMapper-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>, |
|
95 <span class="summary-sig-arg">config</span>, |
|
96 <span class="summary-sig-arg">archiver</span>)</span><br /> |
|
97 Initialization.</td> |
|
98 <td align="right" valign="top"> |
|
99 <span class="codelink"><a href="archive.mappers-pysrc.html#PolicyRemoverMapper.__init__">source code</a></span> |
|
100 |
|
101 </td> |
|
102 </tr> |
|
103 </table> |
|
104 |
|
105 </td> |
|
106 </tr> |
|
107 <tr> |
|
108 <td width="15%" align="right" valign="top" class="summary"> |
|
109 <span class="summary-type"> </span> |
|
110 </td><td class="summary"> |
|
111 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
112 <tr> |
|
113 <td><span class="summary-sig"><a name="get_policy_root_dir"></a><span class="summary-sig-name">get_policy_root_dir</span>(<span class="summary-sig-arg">self</span>)</span><br /> |
|
114 Return the policy.root.dir or root.dir if not set or not under root.dir.</td> |
|
115 <td align="right" valign="top"> |
|
116 <span class="codelink"><a href="archive.mappers-pysrc.html#PolicyRemoverMapper.get_policy_root_dir">source code</a></span> |
|
117 |
|
118 </td> |
|
119 </tr> |
|
120 </table> |
|
121 |
|
122 </td> |
|
123 </tr> |
|
124 <tr> |
|
125 <td width="15%" align="right" valign="top" class="summary"> |
|
126 <span class="summary-type"> </span> |
|
127 </td><td class="summary"> |
|
128 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
129 <tr> |
|
130 <td><span class="summary-sig"><a name="get_rmdir_policy"></a><span class="summary-sig-name">get_rmdir_policy</span>(<span class="summary-sig-arg">self</span>, |
|
131 <span class="summary-sig-arg">dirname</span>)</span><br /> |
|
132 check if the directory should be dropped or not</td> |
|
133 <td align="right" valign="top"> |
|
134 <span class="codelink"><a href="archive.mappers-pysrc.html#PolicyRemoverMapper.get_rmdir_policy">source code</a></span> |
|
135 |
|
136 </td> |
|
137 </tr> |
|
138 </table> |
|
139 |
|
140 </td> |
|
141 </tr> |
|
142 <tr> |
|
143 <td width="15%" align="right" valign="top" class="summary"> |
|
144 <span class="summary-type"> </span> |
|
145 </td><td class="summary"> |
|
146 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
147 <tr> |
|
148 <td><span class="summary-sig"><a href="archive.mappers.PolicyRemoverMapper-class.html#create_commands" class="summary-sig-name">create_commands</a>(<span class="summary-sig-arg">self</span>, |
|
149 <span class="summary-sig-arg">manifest</span>)</span><br /> |
|
150 Generates a list of build commands.</td> |
|
151 <td align="right" valign="top"> |
|
152 <span class="codelink"><a href="archive.mappers-pysrc.html#PolicyRemoverMapper.create_commands">source code</a></span> |
|
153 |
|
154 </td> |
|
155 </tr> |
|
156 </table> |
|
157 |
|
158 </td> |
|
159 </tr> |
|
160 <tr> |
|
161 <td colspan="2" class="summary"> |
|
162 <p class="indent-wrapped-lines"><b>Inherited from <code><a href="archive.mappers.PolicyMapper-class.html">PolicyMapper</a></code></b>: |
|
163 <code><a href="archive.mappers.PolicyMapper-class.html#get_dir_policy">get_dir_policy</a></code>, |
|
164 <code><a href="archive.mappers.PolicyMapper-class.html#get_policy_filenames">get_policy_filenames</a></code>, |
|
165 <code><a href="archive.mappers.PolicyMapper-class.html#load_policy_binary">load_policy_binary</a></code>, |
|
166 <code><a href="archive.mappers.PolicyMapper-class.html#zip2zip">zip2zip</a></code> |
|
167 </p> |
|
168 <div class="private"> <p class="indent-wrapped-lines"><b>Inherited from <code><a href="archive.mappers.PolicyMapper-class.html">PolicyMapper</a></code></b> (private): |
|
169 <code><a href="archive.mappers.PolicyMapper-class.html#_sort_by_policy">_sort_by_policy</a></code> |
|
170 </p></div> |
|
171 <p class="indent-wrapped-lines"><b>Inherited from <code><a href="archive.mappers.Mapper-class.html">Mapper</a></code></b>: |
|
172 <code><a href="archive.mappers.Mapper-class.html#declare_package">declare_package</a></code> |
|
173 </p> |
|
174 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>: |
|
175 <code>__delattr__</code>, |
|
176 <code>__getattribute__</code>, |
|
177 <code>__hash__</code>, |
|
178 <code>__new__</code>, |
|
179 <code>__reduce__</code>, |
|
180 <code>__reduce_ex__</code>, |
|
181 <code>__repr__</code>, |
|
182 <code>__setattr__</code>, |
|
183 <code>__str__</code> |
|
184 </p> |
|
185 </td> |
|
186 </tr> |
|
187 </table> |
|
188 <!-- ==================== PROPERTIES ==================== --> |
|
189 <a name="section-Properties"></a> |
|
190 <table class="summary" border="1" cellpadding="3" |
|
191 cellspacing="0" width="100%" bgcolor="white"> |
|
192 <tr bgcolor="#70b0f0" class="table-header"> |
|
193 <td colspan="2" class="table-header"> |
|
194 <table border="0" cellpadding="0" cellspacing="0" width="100%"> |
|
195 <tr valign="top"> |
|
196 <td align="left"><span class="table-header">Properties</span></td> |
|
197 <td align="right" valign="top" |
|
198 ><span class="options">[<a href="#section-Properties" |
|
199 class="privatelink" onclick="toggle_private();" |
|
200 >hide private</a>]</span></td> |
|
201 </tr> |
|
202 </table> |
|
203 </td> |
|
204 </tr> |
|
205 <tr> |
|
206 <td colspan="2" class="summary"> |
|
207 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>: |
|
208 <code>__class__</code> |
|
209 </p> |
|
210 </td> |
|
211 </tr> |
|
212 </table> |
|
213 <!-- ==================== METHOD DETAILS ==================== --> |
|
214 <a name="section-MethodDetails"></a> |
|
215 <table class="details" border="1" cellpadding="3" |
|
216 cellspacing="0" width="100%" bgcolor="white"> |
|
217 <tr bgcolor="#70b0f0" class="table-header"> |
|
218 <td colspan="2" class="table-header"> |
|
219 <table border="0" cellpadding="0" cellspacing="0" width="100%"> |
|
220 <tr valign="top"> |
|
221 <td align="left"><span class="table-header">Method Details</span></td> |
|
222 <td align="right" valign="top" |
|
223 ><span class="options">[<a href="#section-MethodDetails" |
|
224 class="privatelink" onclick="toggle_private();" |
|
225 >hide private</a>]</span></td> |
|
226 </tr> |
|
227 </table> |
|
228 </td> |
|
229 </tr> |
|
230 </table> |
|
231 <a name="__init__"></a> |
|
232 <div> |
|
233 <table class="details" border="1" cellpadding="3" |
|
234 cellspacing="0" width="100%" bgcolor="white"> |
|
235 <tr><td> |
|
236 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
237 <tr valign="top"><td> |
|
238 <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>, |
|
239 <span class="sig-arg">config</span>, |
|
240 <span class="sig-arg">archiver</span>)</span> |
|
241 <br /><em class="fname">(Constructor)</em> |
|
242 </h3> |
|
243 </td><td align="right" valign="top" |
|
244 ><span class="codelink"><a href="archive.mappers-pysrc.html#PolicyRemoverMapper.__init__">source code</a></span> |
|
245 </td> |
|
246 </table> |
|
247 |
|
248 Initialization. |
|
249 <dl class="fields"> |
|
250 <dt>Overrides: |
|
251 <a href="archive.mappers.PolicyMapper-class.html#__init__">PolicyMapper.__init__</a> |
|
252 </dt> |
|
253 </dl> |
|
254 </td></tr></table> |
|
255 </div> |
|
256 <a name="create_commands"></a> |
|
257 <div> |
|
258 <table class="details" border="1" cellpadding="3" |
|
259 cellspacing="0" width="100%" bgcolor="white"> |
|
260 <tr><td> |
|
261 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
262 <tr valign="top"><td> |
|
263 <h3 class="epydoc"><span class="sig"><span class="sig-name">create_commands</span>(<span class="sig-arg">self</span>, |
|
264 <span class="sig-arg">manifest</span>)</span> |
|
265 </h3> |
|
266 </td><td align="right" valign="top" |
|
267 ><span class="codelink"><a href="archive.mappers-pysrc.html#PolicyRemoverMapper.create_commands">source code</a></span> |
|
268 </td> |
|
269 </table> |
|
270 |
|
271 Generates a list of build commands. |
|
272 <dl class="fields"> |
|
273 <dt>Overrides: |
|
274 <a href="archive.mappers.PolicyMapper-class.html#create_commands">PolicyMapper.create_commands</a> |
|
275 </dt> |
|
276 </dl> |
|
277 </td></tr></table> |
|
278 </div> |
|
279 <br /> |
|
280 <!-- ==================== NAVIGATION BAR ==================== --> |
|
281 <table class="navbar" border="0" width="100%" cellpadding="0" |
|
282 bgcolor="#a0c0ff" cellspacing="0"> |
|
283 <tr valign="middle"> |
|
284 |
|
285 <!-- Tree link --> |
|
286 <th> <a |
|
287 href="module-tree.html">Trees</a> </th> |
|
288 |
|
289 <!-- Index link --> |
|
290 <th> <a |
|
291 href="identifier-index.html">Indices</a> </th> |
|
292 |
|
293 <!-- Help link --> |
|
294 <th> <a |
|
295 href="help.html">Help</a> </th> |
|
296 |
|
297 <th class="navbar" width="100%"></th> |
|
298 </tr> |
|
299 </table> |
|
300 <table border="0" cellpadding="0" cellspacing="0" width="100%%"> |
|
301 <tr> |
|
302 <td align="left" class="footer"> |
|
303 Generated by Epydoc 3.0beta1 on Wed Sep 09 13:44:16 2009 |
|
304 </td> |
|
305 <td align="right" class="footer"> |
|
306 <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a> |
|
307 </td> |
|
308 </tr> |
|
309 </table> |
|
310 |
|
311 <script type="text/javascript"> |
|
312 <!-- |
|
313 // Private objects are initially displayed (because if |
|
314 // javascript is turned off then we want them to be |
|
315 // visible); but by default, we want to hide them. So hide |
|
316 // them unless we have a cookie that says to show them. |
|
317 checkCookie() |
|
318 // --> |
|
319 </script> |
|
320 |
|
321 </body> |
|
322 </html> |