|
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.tools.Tool</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.tools-module.html">Module tools</a> :: |
|
39 Class Tool |
|
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.tools.Tool-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 Tool</h1><span class="codelink"><a href="archive.tools-pysrc.html#Tool">source code</a></span><br /><br /> |
|
57 <pre class="base-tree"> |
|
58 object --+ |
|
59 | |
|
60 <strong class="uidshort">Tool</strong> |
|
61 </pre> |
|
62 |
|
63 <hr /> |
|
64 Tool abstract class.<br /><br /> |
|
65 |
|
66 <!-- ==================== INSTANCE METHODS ==================== --> |
|
67 <a name="section-InstanceMethods"></a> |
|
68 <table class="summary" border="1" cellpadding="3" |
|
69 cellspacing="0" width="100%" bgcolor="white"> |
|
70 <tr bgcolor="#70b0f0" class="table-header"> |
|
71 <td colspan="2" class="table-header"> |
|
72 <table border="0" cellpadding="0" cellspacing="0" width="100%"> |
|
73 <tr valign="top"> |
|
74 <td align="left"><span class="table-header">Instance Methods</span></td> |
|
75 <td align="right" valign="top" |
|
76 ><span class="options">[<a href="#section-InstanceMethods" |
|
77 class="privatelink" onclick="toggle_private();" |
|
78 >hide private</a>]</span></td> |
|
79 </tr> |
|
80 </table> |
|
81 </td> |
|
82 </tr> |
|
83 <tr> |
|
84 <td width="15%" align="right" valign="top" class="summary"> |
|
85 <span class="summary-type"> </span> |
|
86 </td><td class="summary"> |
|
87 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
88 <tr> |
|
89 <td><span class="summary-sig"><a name="extension"></a><span class="summary-sig-name">extension</span>(<span class="summary-sig-arg">self</span>)</span><br /> |
|
90 This method should return the extension of the generated file.</td> |
|
91 <td align="right" valign="top"> |
|
92 <span class="codelink"><a href="archive.tools-pysrc.html#Tool.extension">source code</a></span> |
|
93 |
|
94 </td> |
|
95 </tr> |
|
96 </table> |
|
97 |
|
98 </td> |
|
99 </tr> |
|
100 <tr> |
|
101 <td width="15%" align="right" valign="top" class="summary"> |
|
102 <span class="summary-type"> </span> |
|
103 </td><td class="summary"> |
|
104 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
105 <tr> |
|
106 <td><span class="summary-sig"><a href="archive.tools.Tool-class.html#create_command" class="summary-sig-name">create_command</a>(<span class="summary-sig-arg">self</span>, |
|
107 <span class="summary-sig-arg">path</span>, |
|
108 <span class="summary-sig-arg">filename</span>, |
|
109 <span class="summary-sig-arg">manifests</span>=<span class="summary-sig-default">None</span>)</span><br /> |
|
110 This method should return an array of buildtools.Command.</td> |
|
111 <td align="right" valign="top"> |
|
112 <span class="codelink"><a href="archive.tools-pysrc.html#Tool.create_command">source code</a></span> |
|
113 |
|
114 </td> |
|
115 </tr> |
|
116 </table> |
|
117 |
|
118 </td> |
|
119 </tr> |
|
120 <tr> |
|
121 <td colspan="2" class="summary"> |
|
122 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>: |
|
123 <code>__delattr__</code>, |
|
124 <code>__getattribute__</code>, |
|
125 <code>__hash__</code>, |
|
126 <code>__init__</code>, |
|
127 <code>__new__</code>, |
|
128 <code>__reduce__</code>, |
|
129 <code>__reduce_ex__</code>, |
|
130 <code>__repr__</code>, |
|
131 <code>__setattr__</code>, |
|
132 <code>__str__</code> |
|
133 </p> |
|
134 </td> |
|
135 </tr> |
|
136 </table> |
|
137 <!-- ==================== PROPERTIES ==================== --> |
|
138 <a name="section-Properties"></a> |
|
139 <table class="summary" border="1" cellpadding="3" |
|
140 cellspacing="0" width="100%" bgcolor="white"> |
|
141 <tr bgcolor="#70b0f0" class="table-header"> |
|
142 <td colspan="2" class="table-header"> |
|
143 <table border="0" cellpadding="0" cellspacing="0" width="100%"> |
|
144 <tr valign="top"> |
|
145 <td align="left"><span class="table-header">Properties</span></td> |
|
146 <td align="right" valign="top" |
|
147 ><span class="options">[<a href="#section-Properties" |
|
148 class="privatelink" onclick="toggle_private();" |
|
149 >hide private</a>]</span></td> |
|
150 </tr> |
|
151 </table> |
|
152 </td> |
|
153 </tr> |
|
154 <tr> |
|
155 <td colspan="2" class="summary"> |
|
156 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>: |
|
157 <code>__class__</code> |
|
158 </p> |
|
159 </td> |
|
160 </tr> |
|
161 </table> |
|
162 <!-- ==================== METHOD DETAILS ==================== --> |
|
163 <a name="section-MethodDetails"></a> |
|
164 <table class="details" border="1" cellpadding="3" |
|
165 cellspacing="0" width="100%" bgcolor="white"> |
|
166 <tr bgcolor="#70b0f0" class="table-header"> |
|
167 <td colspan="2" class="table-header"> |
|
168 <table border="0" cellpadding="0" cellspacing="0" width="100%"> |
|
169 <tr valign="top"> |
|
170 <td align="left"><span class="table-header">Method Details</span></td> |
|
171 <td align="right" valign="top" |
|
172 ><span class="options">[<a href="#section-MethodDetails" |
|
173 class="privatelink" onclick="toggle_private();" |
|
174 >hide private</a>]</span></td> |
|
175 </tr> |
|
176 </table> |
|
177 </td> |
|
178 </tr> |
|
179 </table> |
|
180 <a name="create_command"></a> |
|
181 <div> |
|
182 <table class="details" border="1" cellpadding="3" |
|
183 cellspacing="0" width="100%" bgcolor="white"> |
|
184 <tr><td> |
|
185 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
186 <tr valign="top"><td> |
|
187 <h3 class="epydoc"><span class="sig"><span class="sig-name">create_command</span>(<span class="sig-arg">self</span>, |
|
188 <span class="sig-arg">path</span>, |
|
189 <span class="sig-arg">filename</span>, |
|
190 <span class="sig-arg">manifests</span>=<span class="sig-default">None</span>)</span> |
|
191 </h3> |
|
192 </td><td align="right" valign="top" |
|
193 ><span class="codelink"><a href="archive.tools-pysrc.html#Tool.create_command">source code</a></span> |
|
194 </td> |
|
195 </table> |
|
196 |
|
197 This method should return an array of buildtools.Command. |
|
198 That list will get use to generate a build file (e.g make, ant). |
|
199 The list of command should support in parallel calling. |
|
200 <dl class="fields"> |
|
201 </dl> |
|
202 </td></tr></table> |
|
203 </div> |
|
204 <br /> |
|
205 <!-- ==================== NAVIGATION BAR ==================== --> |
|
206 <table class="navbar" border="0" width="100%" cellpadding="0" |
|
207 bgcolor="#a0c0ff" cellspacing="0"> |
|
208 <tr valign="middle"> |
|
209 |
|
210 <!-- Tree link --> |
|
211 <th> <a |
|
212 href="module-tree.html">Trees</a> </th> |
|
213 |
|
214 <!-- Index link --> |
|
215 <th> <a |
|
216 href="identifier-index.html">Indices</a> </th> |
|
217 |
|
218 <!-- Help link --> |
|
219 <th> <a |
|
220 href="help.html">Help</a> </th> |
|
221 |
|
222 <th class="navbar" width="100%"></th> |
|
223 </tr> |
|
224 </table> |
|
225 <table border="0" cellpadding="0" cellspacing="0" width="100%%"> |
|
226 <tr> |
|
227 <td align="left" class="footer"> |
|
228 Generated by Epydoc 3.0beta1 on Wed Sep 09 13:44:16 2009 |
|
229 </td> |
|
230 <td align="right" class="footer"> |
|
231 <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a> |
|
232 </td> |
|
233 </tr> |
|
234 </table> |
|
235 |
|
236 <script type="text/javascript"> |
|
237 <!-- |
|
238 // Private objects are initially displayed (because if |
|
239 // javascript is turned off then we want them to be |
|
240 // visible); but by default, we want to hide them. So hide |
|
241 // them unless we have a cookie that says to show them. |
|
242 checkCookie() |
|
243 // --> |
|
244 </script> |
|
245 |
|
246 </body> |
|
247 </html> |