doc/api/python/preparation.PreparationBuilder-class.html
changeset 432 f2ddfa555b0f
equal deleted inserted replaced
431:7685cec9fd3c 432:f2ddfa555b0f
       
     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>preparation.PreparationBuilder</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>&nbsp;&nbsp;&nbsp;<a
       
    20         href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
       
    21 
       
    22   <!-- Index link -->
       
    23       <th>&nbsp;&nbsp;&nbsp;<a
       
    24         href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
       
    25 
       
    26   <!-- Help link -->
       
    27       <th>&nbsp;&nbsp;&nbsp;<a
       
    28         href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</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="preparation-module.html">Module&nbsp;preparation</a> ::
       
    38         Class&nbsp;PreparationBuilder
       
    39       </span>
       
    40     </td>
       
    41     <td>
       
    42       <table cellpadding="0" cellspacing="0">
       
    43         <!-- hide/show private -->
       
    44         <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
       
    45     onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
       
    46         <tr><td align="right"><span class="options"
       
    47             >[<a href="frames.html" target="_top">frames</a
       
    48             >]&nbsp;|&nbsp;<a href="preparation.PreparationBuilder-class.html"
       
    49             target="_top">no&nbsp;frames</a>]</span></td></tr>
       
    50       </table>
       
    51     </td>
       
    52   </tr>
       
    53 </table>
       
    54 <!-- ==================== CLASS DESCRIPTION ==================== -->
       
    55 <h1 class="epydoc">Class PreparationBuilder</h1><span class="codelink"><a href="preparation-pysrc.html#PreparationBuilder">source&nbsp;code</a></span><br /><br />
       
    56 <pre class="base-tree">
       
    57 object --+
       
    58          |
       
    59         <strong class="uidshort">PreparationBuilder</strong>
       
    60 </pre>
       
    61 
       
    62 <hr />
       
    63 Creates an updated work area from a configuration.<br /><br />
       
    64 
       
    65 <!-- ==================== INSTANCE METHODS ==================== -->
       
    66 <a name="section-InstanceMethods"></a>
       
    67 <table class="summary" border="1" cellpadding="3"
       
    68        cellspacing="0" width="100%" bgcolor="white">
       
    69 <tr bgcolor="#70b0f0" class="table-header">
       
    70   <td colspan="2" class="table-header">
       
    71     <table border="0" cellpadding="0" cellspacing="0" width="100%">
       
    72       <tr valign="top">
       
    73         <td align="left"><span class="table-header">Instance Methods</span></td>
       
    74         <td align="right" valign="top"
       
    75          ><span class="options">[<a href="#section-InstanceMethods"
       
    76          class="privatelink" onclick="toggle_private();"
       
    77          >hide private</a>]</span></td>
       
    78       </tr>
       
    79     </table>
       
    80   </td>
       
    81 </tr>
       
    82 <tr>
       
    83     <td width="15%" align="right" valign="top" class="summary">
       
    84       <span class="summary-type">&nbsp;</span>
       
    85     </td><td class="summary">
       
    86       <table width="100%" cellpadding="0" cellspacing="0" border="0">
       
    87         <tr>
       
    88           <td><span class="summary-sig"><a href="preparation.PreparationBuilder-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
       
    89         <span class="summary-sig-arg">configs</span>,
       
    90         <span class="summary-sig-arg">username</span>=<span class="summary-sig-default">None</span>,
       
    91         <span class="summary-sig-arg">password</span>=<span class="summary-sig-default">None</span>,
       
    92         <span class="summary-sig-arg">cache</span>=<span class="summary-sig-default">None</span>)</span><br />
       
    93       Initialization.</td>
       
    94           <td align="right" valign="top">
       
    95             <span class="codelink"><a href="preparation-pysrc.html#PreparationBuilder.__init__">source&nbsp;code</a></span>
       
    96             
       
    97           </td>
       
    98         </tr>
       
    99       </table>
       
   100       
       
   101     </td>
       
   102   </tr>
       
   103 <tr>
       
   104     <td width="15%" align="right" valign="top" class="summary">
       
   105       <span class="summary-type">&nbsp;</span>
       
   106     </td><td class="summary">
       
   107       <table width="100%" cellpadding="0" cellspacing="0" border="0">
       
   108         <tr>
       
   109           <td><span class="summary-sig"><a name="check"></a><span class="summary-sig-name">check</span>(<span class="summary-sig-arg">self</span>)</span><br />
       
   110       Check that all dependencies are there.</td>
       
   111           <td align="right" valign="top">
       
   112             <span class="codelink"><a href="preparation-pysrc.html#PreparationBuilder.check">source&nbsp;code</a></span>
       
   113             
       
   114           </td>
       
   115         </tr>
       
   116       </table>
       
   117       
       
   118     </td>
       
   119   </tr>
       
   120 <tr>
       
   121     <td width="15%" align="right" valign="top" class="summary">
       
   122       <span class="summary-type">&nbsp;</span>
       
   123     </td><td class="summary">
       
   124       <table width="100%" cellpadding="0" cellspacing="0" border="0">
       
   125         <tr>
       
   126           <td><span class="summary-sig"><a name="get_content"></a><span class="summary-sig-name">get_content</span>(<span class="summary-sig-arg">self</span>)</span><br />
       
   127       Run the each action.</td>
       
   128           <td align="right" valign="top">
       
   129             <span class="codelink"><a href="preparation-pysrc.html#PreparationBuilder.get_content">source&nbsp;code</a></span>
       
   130             
       
   131           </td>
       
   132         </tr>
       
   133       </table>
       
   134       
       
   135     </td>
       
   136   </tr>
       
   137 <tr>
       
   138     <td width="15%" align="right" valign="top" class="summary">
       
   139       <span class="summary-type">&nbsp;</span>
       
   140     </td><td class="summary">
       
   141       <table width="100%" cellpadding="0" cellspacing="0" border="0">
       
   142         <tr>
       
   143           <td><span class="summary-sig"><a name="session"></a><span class="summary-sig-name">session</span>(<span class="summary-sig-arg">self</span>,
       
   144         <span class="summary-sig-arg">database</span>,
       
   145         <span class="summary-sig-arg">size</span>=<span class="summary-sig-default">1</span>,
       
   146         <span class="summary-sig-arg">engine</span>=<span class="summary-sig-default">None</span>,
       
   147         <span class="summary-sig-arg">dbpath</span>=<span class="summary-sig-default">None</span>)</span><br />
       
   148       Handles pool rather that sessions.</td>
       
   149           <td align="right" valign="top">
       
   150             <span class="codelink"><a href="preparation-pysrc.html#PreparationBuilder.session">source&nbsp;code</a></span>
       
   151             
       
   152           </td>
       
   153         </tr>
       
   154       </table>
       
   155       
       
   156     </td>
       
   157   </tr>
       
   158 <tr>
       
   159     <td width="15%" align="right" valign="top" class="summary">
       
   160       <span class="summary-type">&nbsp;</span>
       
   161     </td><td class="summary">
       
   162       <table width="100%" cellpadding="0" cellspacing="0" border="0">
       
   163         <tr>
       
   164           <td><span class="summary-sig"><a href="preparation.PreparationBuilder-class.html#close" class="summary-sig-name">close</a>(<span class="summary-sig-arg">self</span>)</span><br />
       
   165       This is the preparation cleanup method.</td>
       
   166           <td align="right" valign="top">
       
   167             <span class="codelink"><a href="preparation-pysrc.html#PreparationBuilder.close">source&nbsp;code</a></span>
       
   168             
       
   169           </td>
       
   170         </tr>
       
   171       </table>
       
   172       
       
   173     </td>
       
   174   </tr>
       
   175 <tr>
       
   176     <td width="15%" align="right" valign="top" class="summary">
       
   177       <span class="summary-type">&nbsp;</span>
       
   178     </td><td class="summary">
       
   179       <table width="100%" cellpadding="0" cellspacing="0" border="0">
       
   180         <tr>
       
   181           <td><span class="summary-sig"><a name="__del__"></a><span class="summary-sig-name">__del__</span>(<span class="summary-sig-arg">self</span>)</span></td>
       
   182           <td align="right" valign="top">
       
   183             <span class="codelink"><a href="preparation-pysrc.html#PreparationBuilder.__del__">source&nbsp;code</a></span>
       
   184             
       
   185           </td>
       
   186         </tr>
       
   187       </table>
       
   188       
       
   189     </td>
       
   190   </tr>
       
   191   <tr>
       
   192     <td colspan="2" class="summary">
       
   193     <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
       
   194       <code>__delattr__</code>,
       
   195       <code>__getattribute__</code>,
       
   196       <code>__hash__</code>,
       
   197       <code>__new__</code>,
       
   198       <code>__reduce__</code>,
       
   199       <code>__reduce_ex__</code>,
       
   200       <code>__repr__</code>,
       
   201       <code>__setattr__</code>,
       
   202       <code>__str__</code>
       
   203       </p>
       
   204     </td>
       
   205   </tr>
       
   206 </table>
       
   207 <!-- ==================== PROPERTIES ==================== -->
       
   208 <a name="section-Properties"></a>
       
   209 <table class="summary" border="1" cellpadding="3"
       
   210        cellspacing="0" width="100%" bgcolor="white">
       
   211 <tr bgcolor="#70b0f0" class="table-header">
       
   212   <td colspan="2" class="table-header">
       
   213     <table border="0" cellpadding="0" cellspacing="0" width="100%">
       
   214       <tr valign="top">
       
   215         <td align="left"><span class="table-header">Properties</span></td>
       
   216         <td align="right" valign="top"
       
   217          ><span class="options">[<a href="#section-Properties"
       
   218          class="privatelink" onclick="toggle_private();"
       
   219          >hide private</a>]</span></td>
       
   220       </tr>
       
   221     </table>
       
   222   </td>
       
   223 </tr>
       
   224   <tr>
       
   225     <td colspan="2" class="summary">
       
   226     <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
       
   227       <code>__class__</code>
       
   228       </p>
       
   229     </td>
       
   230   </tr>
       
   231 </table>
       
   232 <!-- ==================== METHOD DETAILS ==================== -->
       
   233 <a name="section-MethodDetails"></a>
       
   234 <table class="details" border="1" cellpadding="3"
       
   235        cellspacing="0" width="100%" bgcolor="white">
       
   236 <tr bgcolor="#70b0f0" class="table-header">
       
   237   <td colspan="2" class="table-header">
       
   238     <table border="0" cellpadding="0" cellspacing="0" width="100%">
       
   239       <tr valign="top">
       
   240         <td align="left"><span class="table-header">Method Details</span></td>
       
   241         <td align="right" valign="top"
       
   242          ><span class="options">[<a href="#section-MethodDetails"
       
   243          class="privatelink" onclick="toggle_private();"
       
   244          >hide private</a>]</span></td>
       
   245       </tr>
       
   246     </table>
       
   247   </td>
       
   248 </tr>
       
   249 </table>
       
   250 <a name="__init__"></a>
       
   251 <div>
       
   252 <table class="details" border="1" cellpadding="3"
       
   253        cellspacing="0" width="100%" bgcolor="white">
       
   254 <tr><td>
       
   255   <table width="100%" cellpadding="0" cellspacing="0" border="0">
       
   256   <tr valign="top"><td>
       
   257   <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
       
   258         <span class="sig-arg">configs</span>,
       
   259         <span class="sig-arg">username</span>=<span class="sig-default">None</span>,
       
   260         <span class="sig-arg">password</span>=<span class="sig-default">None</span>,
       
   261         <span class="sig-arg">cache</span>=<span class="sig-default">None</span>)</span>
       
   262     <br /><em class="fname">(Constructor)</em>
       
   263   </h3>
       
   264   </td><td align="right" valign="top"
       
   265     ><span class="codelink"><a href="preparation-pysrc.html#PreparationBuilder.__init__">source&nbsp;code</a></span>&nbsp;
       
   266     </td>
       
   267   </table>
       
   268   
       
   269   Initialization.
       
   270   <dl class="fields">
       
   271     <dt>Overrides:
       
   272       object.__init__
       
   273     </dt>
       
   274   </dl>
       
   275 </td></tr></table>
       
   276 </div>
       
   277 <a name="close"></a>
       
   278 <div>
       
   279 <table class="details" border="1" cellpadding="3"
       
   280        cellspacing="0" width="100%" bgcolor="white">
       
   281 <tr><td>
       
   282   <table width="100%" cellpadding="0" cellspacing="0" border="0">
       
   283   <tr valign="top"><td>
       
   284   <h3 class="epydoc"><span class="sig"><span class="sig-name">close</span>(<span class="sig-arg">self</span>)</span>
       
   285   </h3>
       
   286   </td><td align="right" valign="top"
       
   287     ><span class="codelink"><a href="preparation-pysrc.html#PreparationBuilder.close">source&nbsp;code</a></span>&nbsp;
       
   288     </td>
       
   289   </table>
       
   290   
       
   291   This is the preparation cleanup method.
       
   292 It closes all opened sessions.
       
   293   <dl class="fields">
       
   294   </dl>
       
   295 </td></tr></table>
       
   296 </div>
       
   297 <br />
       
   298 <!-- ==================== NAVIGATION BAR ==================== -->
       
   299 <table class="navbar" border="0" width="100%" cellpadding="0"
       
   300        bgcolor="#a0c0ff" cellspacing="0">
       
   301   <tr valign="middle">
       
   302 
       
   303   <!-- Tree link -->
       
   304       <th>&nbsp;&nbsp;&nbsp;<a
       
   305         href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
       
   306 
       
   307   <!-- Index link -->
       
   308       <th>&nbsp;&nbsp;&nbsp;<a
       
   309         href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
       
   310 
       
   311   <!-- Help link -->
       
   312       <th>&nbsp;&nbsp;&nbsp;<a
       
   313         href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
       
   314 
       
   315       <th class="navbar" width="100%"></th>
       
   316   </tr>
       
   317 </table>
       
   318 <table border="0" cellpadding="0" cellspacing="0" width="100%%">
       
   319   <tr>
       
   320     <td align="left" class="footer">
       
   321     Generated by Epydoc 3.0beta1 on Wed Sep 09 13:44:19 2009
       
   322     </td>
       
   323     <td align="right" class="footer">
       
   324       <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a>
       
   325     </td>
       
   326   </tr>
       
   327 </table>
       
   328 
       
   329 <script type="text/javascript">
       
   330   <!--
       
   331   // Private objects are initially displayed (because if
       
   332   // javascript is turned off then we want them to be
       
   333   // visible); but by default, we want to hide them.  So hide
       
   334   // them unless we have a cookie that says to show them.
       
   335   checkCookie()
       
   336   // -->
       
   337 </script>
       
   338   
       
   339 </body>
       
   340 </html>