doc/api/python/preparation.PreparationAction-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.PreparationAction</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;PreparationAction
       
    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.PreparationAction-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 PreparationAction</h1><span class="codelink"><a href="preparation-pysrc.html#PreparationAction">source&nbsp;code</a></span><br /><br />
       
    56 <pre class="base-tree">
       
    57 object --+
       
    58          |
       
    59         <strong class="uidshort">PreparationAction</strong>
       
    60 </pre>
       
    61 
       
    62 <hr />
       
    63 Implements an abstract preparation function.<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.PreparationAction-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
       
    89         <span class="summary-sig-arg">config</span>,
       
    90         <span class="summary-sig-arg">builder</span>)</span><br />
       
    91       x.__init__(...) initializes x; see x.__class__.__doc__ for signature</td>
       
    92           <td align="right" valign="top">
       
    93             <span class="codelink"><a href="preparation-pysrc.html#PreparationAction.__init__">source&nbsp;code</a></span>
       
    94             
       
    95           </td>
       
    96         </tr>
       
    97       </table>
       
    98       
       
    99     </td>
       
   100   </tr>
       
   101 <tr>
       
   102     <td width="15%" align="right" valign="top" class="summary">
       
   103       <span class="summary-type">&nbsp;</span>
       
   104     </td><td class="summary">
       
   105       <table width="100%" cellpadding="0" cellspacing="0" border="0">
       
   106         <tr>
       
   107           <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 />
       
   108       Checks if project is available in synergy.</td>
       
   109           <td align="right" valign="top">
       
   110             <span class="codelink"><a href="preparation-pysrc.html#PreparationAction.check">source&nbsp;code</a></span>
       
   111             
       
   112           </td>
       
   113         </tr>
       
   114       </table>
       
   115       
       
   116     </td>
       
   117   </tr>
       
   118 <tr class="private">
       
   119     <td width="15%" align="right" valign="top" class="summary">
       
   120       <span class="summary-type">&nbsp;</span>
       
   121     </td><td class="summary">
       
   122       <table width="100%" cellpadding="0" cellspacing="0" border="0">
       
   123         <tr>
       
   124           <td><span class="summary-sig"><a name="_check_object"></a><span class="summary-sig-name">_check_object</span>(<span class="summary-sig-arg">self</span>,
       
   125         <span class="summary-sig-arg">fpn</span>)</span><br />
       
   126       Check if ccmobject exists in synergy database.</td>
       
   127           <td align="right" valign="top">
       
   128             <span class="codelink"><a href="preparation-pysrc.html#PreparationAction._check_object">source&nbsp;code</a></span>
       
   129             
       
   130           </td>
       
   131         </tr>
       
   132       </table>
       
   133       
       
   134     </td>
       
   135   </tr>
       
   136 <tr>
       
   137     <td width="15%" align="right" valign="top" class="summary">
       
   138       <span class="summary-type">&nbsp;</span>
       
   139     </td><td class="summary">
       
   140       <table width="100%" cellpadding="0" cellspacing="0" border="0">
       
   141         <tr>
       
   142           <td><span class="summary-sig"><a href="preparation.PreparationAction-class.html#execute" class="summary-sig-name">execute</a>(<span class="summary-sig-arg">self</span>)</span><br />
       
   143       This method needs to be override by child class.</td>
       
   144           <td align="right" valign="top">
       
   145             <span class="codelink"><a href="preparation-pysrc.html#PreparationAction.execute">source&nbsp;code</a></span>
       
   146             
       
   147           </td>
       
   148         </tr>
       
   149       </table>
       
   150       
       
   151     </td>
       
   152   </tr>
       
   153 <tr>
       
   154     <td width="15%" align="right" valign="top" class="summary">
       
   155       <span class="summary-type">&nbsp;</span>
       
   156     </td><td class="summary">
       
   157       <table width="100%" cellpadding="0" cellspacing="0" border="0">
       
   158         <tr>
       
   159           <td><span class="summary-sig"><a href="preparation.PreparationAction-class.html#get_session" class="summary-sig-name">get_session</a>(<span class="summary-sig-arg">self</span>)</span><br />
       
   160       Helper that retreive the session from the builder.</td>
       
   161           <td align="right" valign="top">
       
   162             <span class="codelink"><a href="preparation-pysrc.html#PreparationAction.get_session">source&nbsp;code</a></span>
       
   163             
       
   164           </td>
       
   165         </tr>
       
   166       </table>
       
   167       
       
   168     </td>
       
   169   </tr>
       
   170 <tr>
       
   171     <td width="15%" align="right" valign="top" class="summary">
       
   172       <span class="summary-type">&nbsp;</span>
       
   173     </td><td class="summary">
       
   174       <table width="100%" cellpadding="0" cellspacing="0" border="0">
       
   175         <tr>
       
   176           <td><span class="summary-sig"><a name="get_threads"></a><span class="summary-sig-name">get_threads</span>(<span class="summary-sig-arg">self</span>)</span><br />
       
   177       Returning the number of threads that should be used.</td>
       
   178           <td align="right" valign="top">
       
   179             <span class="codelink"><a href="preparation-pysrc.html#PreparationAction.get_threads">source&nbsp;code</a></span>
       
   180             
       
   181           </td>
       
   182         </tr>
       
   183       </table>
       
   184       
       
   185     </td>
       
   186   </tr>
       
   187   <tr>
       
   188     <td colspan="2" class="summary">
       
   189     <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
       
   190       <code>__delattr__</code>,
       
   191       <code>__getattribute__</code>,
       
   192       <code>__hash__</code>,
       
   193       <code>__new__</code>,
       
   194       <code>__reduce__</code>,
       
   195       <code>__reduce_ex__</code>,
       
   196       <code>__repr__</code>,
       
   197       <code>__setattr__</code>,
       
   198       <code>__str__</code>
       
   199       </p>
       
   200     </td>
       
   201   </tr>
       
   202 </table>
       
   203 <!-- ==================== PROPERTIES ==================== -->
       
   204 <a name="section-Properties"></a>
       
   205 <table class="summary" border="1" cellpadding="3"
       
   206        cellspacing="0" width="100%" bgcolor="white">
       
   207 <tr bgcolor="#70b0f0" class="table-header">
       
   208   <td colspan="2" class="table-header">
       
   209     <table border="0" cellpadding="0" cellspacing="0" width="100%">
       
   210       <tr valign="top">
       
   211         <td align="left"><span class="table-header">Properties</span></td>
       
   212         <td align="right" valign="top"
       
   213          ><span class="options">[<a href="#section-Properties"
       
   214          class="privatelink" onclick="toggle_private();"
       
   215          >hide private</a>]</span></td>
       
   216       </tr>
       
   217     </table>
       
   218   </td>
       
   219 </tr>
       
   220   <tr>
       
   221     <td colspan="2" class="summary">
       
   222     <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
       
   223       <code>__class__</code>
       
   224       </p>
       
   225     </td>
       
   226   </tr>
       
   227 </table>
       
   228 <!-- ==================== METHOD DETAILS ==================== -->
       
   229 <a name="section-MethodDetails"></a>
       
   230 <table class="details" border="1" cellpadding="3"
       
   231        cellspacing="0" width="100%" bgcolor="white">
       
   232 <tr bgcolor="#70b0f0" class="table-header">
       
   233   <td colspan="2" class="table-header">
       
   234     <table border="0" cellpadding="0" cellspacing="0" width="100%">
       
   235       <tr valign="top">
       
   236         <td align="left"><span class="table-header">Method Details</span></td>
       
   237         <td align="right" valign="top"
       
   238          ><span class="options">[<a href="#section-MethodDetails"
       
   239          class="privatelink" onclick="toggle_private();"
       
   240          >hide private</a>]</span></td>
       
   241       </tr>
       
   242     </table>
       
   243   </td>
       
   244 </tr>
       
   245 </table>
       
   246 <a name="__init__"></a>
       
   247 <div>
       
   248 <table class="details" border="1" cellpadding="3"
       
   249        cellspacing="0" width="100%" bgcolor="white">
       
   250 <tr><td>
       
   251   <table width="100%" cellpadding="0" cellspacing="0" border="0">
       
   252   <tr valign="top"><td>
       
   253   <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
       
   254         <span class="sig-arg">config</span>,
       
   255         <span class="sig-arg">builder</span>)</span>
       
   256     <br /><em class="fname">(Constructor)</em>
       
   257   </h3>
       
   258   </td><td align="right" valign="top"
       
   259     ><span class="codelink"><a href="preparation-pysrc.html#PreparationAction.__init__">source&nbsp;code</a></span>&nbsp;
       
   260     </td>
       
   261   </table>
       
   262   
       
   263   x.__init__(...) initializes x; see x.__class__.__doc__ for signature
       
   264   <dl class="fields">
       
   265     <dt>Overrides:
       
   266       object.__init__
       
   267         <dd><em class="note">(inherited documentation)</em></dd>
       
   268     </dt>
       
   269   </dl>
       
   270 </td></tr></table>
       
   271 </div>
       
   272 <a name="execute"></a>
       
   273 <div>
       
   274 <table class="details" border="1" cellpadding="3"
       
   275        cellspacing="0" width="100%" bgcolor="white">
       
   276 <tr><td>
       
   277   <table width="100%" cellpadding="0" cellspacing="0" border="0">
       
   278   <tr valign="top"><td>
       
   279   <h3 class="epydoc"><span class="sig"><span class="sig-name">execute</span>(<span class="sig-arg">self</span>)</span>
       
   280   </h3>
       
   281   </td><td align="right" valign="top"
       
   282     ><span class="codelink"><a href="preparation-pysrc.html#PreparationAction.execute">source&nbsp;code</a></span>&nbsp;
       
   283     </td>
       
   284   </table>
       
   285   
       
   286   <p>This method needs to be override by child class.</p>
       
   287 <p>It should implement the action to achieve.</p>
       
   288   <dl class="fields">
       
   289   </dl>
       
   290 </td></tr></table>
       
   291 </div>
       
   292 <a name="get_session"></a>
       
   293 <div>
       
   294 <table class="details" border="1" cellpadding="3"
       
   295        cellspacing="0" width="100%" bgcolor="white">
       
   296 <tr><td>
       
   297   <table width="100%" cellpadding="0" cellspacing="0" border="0">
       
   298   <tr valign="top"><td>
       
   299   <h3 class="epydoc"><span class="sig"><span class="sig-name">get_session</span>(<span class="sig-arg">self</span>)</span>
       
   300   </h3>
       
   301   </td><td align="right" valign="top"
       
   302     ><span class="codelink"><a href="preparation-pysrc.html#PreparationAction.get_session">source&nbsp;code</a></span>&nbsp;
       
   303     </td>
       
   304   </table>
       
   305   
       
   306   Helper that retreive the session from the builder. Setting threads correctly.
       
   307   <dl class="fields">
       
   308   </dl>
       
   309 </td></tr></table>
       
   310 </div>
       
   311 <br />
       
   312 <!-- ==================== NAVIGATION BAR ==================== -->
       
   313 <table class="navbar" border="0" width="100%" cellpadding="0"
       
   314        bgcolor="#a0c0ff" cellspacing="0">
       
   315   <tr valign="middle">
       
   316 
       
   317   <!-- Tree link -->
       
   318       <th>&nbsp;&nbsp;&nbsp;<a
       
   319         href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
       
   320 
       
   321   <!-- Index link -->
       
   322       <th>&nbsp;&nbsp;&nbsp;<a
       
   323         href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
       
   324 
       
   325   <!-- Help link -->
       
   326       <th>&nbsp;&nbsp;&nbsp;<a
       
   327         href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
       
   328 
       
   329       <th class="navbar" width="100%"></th>
       
   330   </tr>
       
   331 </table>
       
   332 <table border="0" cellpadding="0" cellspacing="0" width="100%%">
       
   333   <tr>
       
   334     <td align="left" class="footer">
       
   335     Generated by Epydoc 3.0beta1 on Wed Sep 09 13:44:19 2009
       
   336     </td>
       
   337     <td align="right" class="footer">
       
   338       <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a>
       
   339     </td>
       
   340   </tr>
       
   341 </table>
       
   342 
       
   343 <script type="text/javascript">
       
   344   <!--
       
   345   // Private objects are initially displayed (because if
       
   346   // javascript is turned off then we want them to be
       
   347   // visible); but by default, we want to hide them.  So hide
       
   348   // them unless we have a cookie that says to show them.
       
   349   checkCookie()
       
   350   // -->
       
   351 </script>
       
   352   
       
   353 </body>
       
   354 </html>