diff -r 7685cec9fd3c -r f2ddfa555b0f doc/api/python/symrec.ValidateReleaseMetadataCached-class.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doc/api/python/symrec.ValidateReleaseMetadataCached-class.html Fri Sep 11 11:54:49 2009 +0100 @@ -0,0 +1,391 @@ + + + + + symrec.ValidateReleaseMetadataCached + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + Module symrec :: + Class ValidateReleaseMetadataCached + + + + + + +
[hide private]
[frames] | no frames]
+
+ +

Class ValidateReleaseMetadataCached

source code

+
+         object --+        
+                  |        
+    ReleaseMetadata --+    
+                      |    
+ValidateReleaseMetadata --+
+                          |
+                         ValidateReleaseMetadataCached
+
+ +
+Cached version of the metadata validation.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Instance Methods[hide private]
+
+   + + + + + + +
__init__(self, + filename, + cachefile=None)
+ x.__init__(...) initializes x; see x.__class__.__doc__ for signature
+ source code + +
+ +
+   + + + + + + +
is_valid(self, + checkmd5=True)
+ Check if file is in the local cache.
+ source code + +
+ +
+   + + + + + + +
in_cache(self, + metadatas, + key) + source code + +
+ +
+   + + + + + + +
value_from_cache(self, + metadatas, + key) + source code + +
+ +
+   + + + + + + +
load_cache(self) + source code + +
+ +
+   + + + + + + +
update_cache(self, + metadatas) + source code + +
+ +
+

Inherited from ReleaseMetadata: + __getitem__, + __setitem__, + add_package, + getVariantPackage, + get_dependsof, + get_releasedetails_info, + keys, + save, + servicepacks, + set_dependsof, + set_releasedetails_info, + xml +

+

Inherited from object: + __delattr__, + __getattribute__, + __hash__, + __new__, + __reduce__, + __reduce_ex__, + __repr__, + __setattr__, + __str__ +

+
+ + + + + + + + + +
+ + + + + +
Class Variables[hide private]
+
+

Inherited from ReleaseMetadata: + baseline_product, + baseline_release, + baseline_service, + dependsof_product, + dependsof_release, + dependsof_service, + filename, + product, + release, + service +

+
+ + + + + + + + + +
+ + + + + +
Properties[hide private]
+
+

Inherited from object: + __class__ +

+
+ + + + + + +
+ + + + + +
Method Details[hide private]
+
+ +
+ +
+ + +
+

__init__(self, + filename, + cachefile=None) +
(Constructor) +

+
source code  +
+ + x.__init__(...) initializes x; see x.__class__.__doc__ for signature +
+
Overrides: + ValidateReleaseMetadata.__init__ +
+
+
+
+ +
+ +
+ + +
+

is_valid(self, + checkmd5=True) +

+
source code  +
+ + Check if file is in the local cache. +Add valid release to the cache. +
+
Overrides: + ValidateReleaseMetadata.is_valid +
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + +