doc/api/python/symrec.ValidateReleaseMetadata-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>symrec.ValidateReleaseMetadata</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="symrec-module.html">Module&nbsp;symrec</a> ::
       
    38         Class&nbsp;ValidateReleaseMetadata
       
    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="symrec.ValidateReleaseMetadata-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 ValidateReleaseMetadata</h1><span class="codelink"><a href="symrec-pysrc.html#ValidateReleaseMetadata">source&nbsp;code</a></span><br /><br />
       
    56 <pre class="base-tree">
       
    57      object --+    
       
    58               |    
       
    59 <a href="symrec.ReleaseMetadata-class.html">ReleaseMetadata</a> --+
       
    60                   |
       
    61                  <strong class="uidshort">ValidateReleaseMetadata</strong>
       
    62 </pre>
       
    63 
       
    64 <hr />
       
    65 This class validate if a metadata file is stored in the correct location and
       
    66 if all deps exists.<br /><br />
       
    67 
       
    68 <!-- ==================== INSTANCE METHODS ==================== -->
       
    69 <a name="section-InstanceMethods"></a>
       
    70 <table class="summary" border="1" cellpadding="3"
       
    71        cellspacing="0" width="100%" bgcolor="white">
       
    72 <tr bgcolor="#70b0f0" class="table-header">
       
    73   <td colspan="2" class="table-header">
       
    74     <table border="0" cellpadding="0" cellspacing="0" width="100%">
       
    75       <tr valign="top">
       
    76         <td align="left"><span class="table-header">Instance Methods</span></td>
       
    77         <td align="right" valign="top"
       
    78          ><span class="options">[<a href="#section-InstanceMethods"
       
    79          class="privatelink" onclick="toggle_private();"
       
    80          >hide private</a>]</span></td>
       
    81       </tr>
       
    82     </table>
       
    83   </td>
       
    84 </tr>
       
    85 <tr>
       
    86     <td width="15%" align="right" valign="top" class="summary">
       
    87       <span class="summary-type">&nbsp;</span>
       
    88     </td><td class="summary">
       
    89       <table width="100%" cellpadding="0" cellspacing="0" border="0">
       
    90         <tr>
       
    91           <td><span class="summary-sig"><a href="symrec.ValidateReleaseMetadata-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
       
    92         <span class="summary-sig-arg">filename</span>)</span><br />
       
    93       x.__init__(...) initializes x; see x.__class__.__doc__ for signature</td>
       
    94           <td align="right" valign="top">
       
    95             <span class="codelink"><a href="symrec-pysrc.html#ValidateReleaseMetadata.__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="is_valid"></a><span class="summary-sig-name">is_valid</span>(<span class="summary-sig-arg">self</span>,
       
   110         <span class="summary-sig-arg">checkmd5</span>=<span class="summary-sig-default">True</span>)</span><br />
       
   111       Run the validation mechanism.</td>
       
   112           <td align="right" valign="top">
       
   113             <span class="codelink"><a href="symrec-pysrc.html#ValidateReleaseMetadata.is_valid">source&nbsp;code</a></span>
       
   114             
       
   115           </td>
       
   116         </tr>
       
   117       </table>
       
   118       
       
   119     </td>
       
   120   </tr>
       
   121   <tr>
       
   122     <td colspan="2" class="summary">
       
   123     <p class="indent-wrapped-lines"><b>Inherited from <code><a href="symrec.ReleaseMetadata-class.html">ReleaseMetadata</a></code></b>:
       
   124       <code><a href="symrec.ReleaseMetadata-class.html#__getitem__">__getitem__</a></code>,
       
   125       <code><a href="symrec.ReleaseMetadata-class.html#__setitem__">__setitem__</a></code>,
       
   126       <code><a href="symrec.ReleaseMetadata-class.html#add_package">add_package</a></code>,
       
   127       <code><a href="symrec.ReleaseMetadata-class.html#getVariantPackage">getVariantPackage</a></code>,
       
   128       <code><a href="symrec.ReleaseMetadata-class.html#get_dependsof">get_dependsof</a></code>,
       
   129       <code><a href="symrec.ReleaseMetadata-class.html#get_releasedetails_info">get_releasedetails_info</a></code>,
       
   130       <code><a href="symrec.ReleaseMetadata-class.html#keys">keys</a></code>,
       
   131       <code><a href="symrec.ReleaseMetadata-class.html#save">save</a></code>,
       
   132       <code><a href="symrec.ReleaseMetadata-class.html#servicepacks">servicepacks</a></code>,
       
   133       <code><a href="symrec.ReleaseMetadata-class.html#set_dependsof">set_dependsof</a></code>,
       
   134       <code><a href="symrec.ReleaseMetadata-class.html#set_releasedetails_info">set_releasedetails_info</a></code>,
       
   135       <code><a href="symrec.ReleaseMetadata-class.html#xml">xml</a></code>
       
   136       </p>
       
   137     <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
       
   138       <code>__delattr__</code>,
       
   139       <code>__getattribute__</code>,
       
   140       <code>__hash__</code>,
       
   141       <code>__new__</code>,
       
   142       <code>__reduce__</code>,
       
   143       <code>__reduce_ex__</code>,
       
   144       <code>__repr__</code>,
       
   145       <code>__setattr__</code>,
       
   146       <code>__str__</code>
       
   147       </p>
       
   148     </td>
       
   149   </tr>
       
   150 </table>
       
   151 <!-- ==================== CLASS VARIABLES ==================== -->
       
   152 <a name="section-ClassVariables"></a>
       
   153 <table class="summary" border="1" cellpadding="3"
       
   154        cellspacing="0" width="100%" bgcolor="white">
       
   155 <tr bgcolor="#70b0f0" class="table-header">
       
   156   <td colspan="2" class="table-header">
       
   157     <table border="0" cellpadding="0" cellspacing="0" width="100%">
       
   158       <tr valign="top">
       
   159         <td align="left"><span class="table-header">Class Variables</span></td>
       
   160         <td align="right" valign="top"
       
   161          ><span class="options">[<a href="#section-ClassVariables"
       
   162          class="privatelink" onclick="toggle_private();"
       
   163          >hide private</a>]</span></td>
       
   164       </tr>
       
   165     </table>
       
   166   </td>
       
   167 </tr>
       
   168   <tr>
       
   169     <td colspan="2" class="summary">
       
   170     <p class="indent-wrapped-lines"><b>Inherited from <code><a href="symrec.ReleaseMetadata-class.html">ReleaseMetadata</a></code></b>:
       
   171       <code><a href="symrec.ReleaseMetadata-class.html#baseline_product">baseline_product</a></code>,
       
   172       <code><a href="symrec.ReleaseMetadata-class.html#baseline_release">baseline_release</a></code>,
       
   173       <code><a href="symrec.ReleaseMetadata-class.html#baseline_service">baseline_service</a></code>,
       
   174       <code><a href="symrec.ReleaseMetadata-class.html#dependsof_product">dependsof_product</a></code>,
       
   175       <code><a href="symrec.ReleaseMetadata-class.html#dependsof_release">dependsof_release</a></code>,
       
   176       <code><a href="symrec.ReleaseMetadata-class.html#dependsof_service">dependsof_service</a></code>,
       
   177       <code><a href="symrec.ReleaseMetadata-class.html#filename">filename</a></code>,
       
   178       <code><a href="symrec.ReleaseMetadata-class.html#product">product</a></code>,
       
   179       <code><a href="symrec.ReleaseMetadata-class.html#release">release</a></code>,
       
   180       <code><a href="symrec.ReleaseMetadata-class.html#service">service</a></code>
       
   181       </p>
       
   182     </td>
       
   183   </tr>
       
   184 </table>
       
   185 <!-- ==================== PROPERTIES ==================== -->
       
   186 <a name="section-Properties"></a>
       
   187 <table class="summary" border="1" cellpadding="3"
       
   188        cellspacing="0" width="100%" bgcolor="white">
       
   189 <tr bgcolor="#70b0f0" class="table-header">
       
   190   <td colspan="2" class="table-header">
       
   191     <table border="0" cellpadding="0" cellspacing="0" width="100%">
       
   192       <tr valign="top">
       
   193         <td align="left"><span class="table-header">Properties</span></td>
       
   194         <td align="right" valign="top"
       
   195          ><span class="options">[<a href="#section-Properties"
       
   196          class="privatelink" onclick="toggle_private();"
       
   197          >hide private</a>]</span></td>
       
   198       </tr>
       
   199     </table>
       
   200   </td>
       
   201 </tr>
       
   202   <tr>
       
   203     <td colspan="2" class="summary">
       
   204     <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
       
   205       <code>__class__</code>
       
   206       </p>
       
   207     </td>
       
   208   </tr>
       
   209 </table>
       
   210 <!-- ==================== METHOD DETAILS ==================== -->
       
   211 <a name="section-MethodDetails"></a>
       
   212 <table class="details" border="1" cellpadding="3"
       
   213        cellspacing="0" width="100%" bgcolor="white">
       
   214 <tr bgcolor="#70b0f0" class="table-header">
       
   215   <td colspan="2" class="table-header">
       
   216     <table border="0" cellpadding="0" cellspacing="0" width="100%">
       
   217       <tr valign="top">
       
   218         <td align="left"><span class="table-header">Method Details</span></td>
       
   219         <td align="right" valign="top"
       
   220          ><span class="options">[<a href="#section-MethodDetails"
       
   221          class="privatelink" onclick="toggle_private();"
       
   222          >hide private</a>]</span></td>
       
   223       </tr>
       
   224     </table>
       
   225   </td>
       
   226 </tr>
       
   227 </table>
       
   228 <a name="__init__"></a>
       
   229 <div>
       
   230 <table class="details" border="1" cellpadding="3"
       
   231        cellspacing="0" width="100%" bgcolor="white">
       
   232 <tr><td>
       
   233   <table width="100%" cellpadding="0" cellspacing="0" border="0">
       
   234   <tr valign="top"><td>
       
   235   <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
       
   236         <span class="sig-arg">filename</span>)</span>
       
   237     <br /><em class="fname">(Constructor)</em>
       
   238   </h3>
       
   239   </td><td align="right" valign="top"
       
   240     ><span class="codelink"><a href="symrec-pysrc.html#ValidateReleaseMetadata.__init__">source&nbsp;code</a></span>&nbsp;
       
   241     </td>
       
   242   </table>
       
   243   
       
   244   x.__init__(...) initializes x; see x.__class__.__doc__ for signature
       
   245   <dl class="fields">
       
   246     <dt>Overrides:
       
   247       <a href="symrec.ReleaseMetadata-class.html#__init__">ReleaseMetadata.__init__</a>
       
   248     </dt>
       
   249   </dl>
       
   250 </td></tr></table>
       
   251 </div>
       
   252 <br />
       
   253 <!-- ==================== NAVIGATION BAR ==================== -->
       
   254 <table class="navbar" border="0" width="100%" cellpadding="0"
       
   255        bgcolor="#a0c0ff" cellspacing="0">
       
   256   <tr valign="middle">
       
   257 
       
   258   <!-- Tree link -->
       
   259       <th>&nbsp;&nbsp;&nbsp;<a
       
   260         href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
       
   261 
       
   262   <!-- Index link -->
       
   263       <th>&nbsp;&nbsp;&nbsp;<a
       
   264         href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
       
   265 
       
   266   <!-- Help link -->
       
   267       <th>&nbsp;&nbsp;&nbsp;<a
       
   268         href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
       
   269 
       
   270       <th class="navbar" width="100%"></th>
       
   271   </tr>
       
   272 </table>
       
   273 <table border="0" cellpadding="0" cellspacing="0" width="100%%">
       
   274   <tr>
       
   275     <td align="left" class="footer">
       
   276     Generated by Epydoc 3.0beta1 on Wed Sep 09 13:44:19 2009
       
   277     </td>
       
   278     <td align="right" class="footer">
       
   279       <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a>
       
   280     </td>
       
   281   </tr>
       
   282 </table>
       
   283 
       
   284 <script type="text/javascript">
       
   285   <!--
       
   286   // Private objects are initially displayed (because if
       
   287   // javascript is turned off then we want them to be
       
   288   // visible); but by default, we want to hide them.  So hide
       
   289   // them unless we have a cookie that says to show them.
       
   290   checkCookie()
       
   291   // -->
       
   292 </script>
       
   293   
       
   294 </body>
       
   295 </html>