| |
|
| java.lang.Object org.apache.cocoon.caching.CacheValidityToSourceValidity
CacheValidityToSourceValidity | final public class CacheValidityToSourceValidity implements SourceValidity(Code) | | A CacheValidity object wrapping the Avalon Excalibur
SourceValidity object.
since: 2.1 author: Carsten Ziegeler version: CVS $Id: CacheValidityToSourceValidity.java 433543 2006-08-22 06:22:54Z crossley $ |
CacheValidityToSourceValidity | protected CacheValidityToSourceValidity(CacheValidity validity)(Code) | | Constructor
|
isValid | public int isValid()(Code) | | Check if the component is still valid.
If 0 is returned the isValid(SourceValidity) must be
called afterwards!
If -1 is returned, the component is not valid anymore and if +1
is returnd, the component is valid.
|
isValid | public int isValid(SourceValidity newValidity)(Code) | | Check if the component is still valid.
This is only true, if the incoming Validity is of the same
type and has the same values.
The invocation order is that the isValid method of the
old Validity object is called with the new one as a parameter
|
|
|
|