|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cocoon.caching.CacheValidityToSourceValidity
public final class CacheValidityToSourceValidity
A CacheValidity object wrapping the Avalon Excalibur
SourceValidity
object.
Field Summary | |
---|---|
protected CacheValidity |
cacheValidity
Deprecated. |
Fields inherited from interface org.apache.excalibur.source.SourceValidity |
---|
INVALID, UNKNOWN, VALID |
Constructor Summary | |
---|---|
protected |
CacheValidityToSourceValidity(CacheValidity validity)
Deprecated. Constructor |
Method Summary | |
---|---|
static CacheValidityToSourceValidity |
createValidity(CacheValidity validity)
Deprecated. Create a new instance |
int |
isValid()
Deprecated. Check if the component is still valid. |
int |
isValid(SourceValidity newValidity)
Deprecated. Check if the component is still valid. |
String |
toString()
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected CacheValidity cacheValidity
Constructor Detail |
---|
protected CacheValidityToSourceValidity(CacheValidity validity)
Method Detail |
---|
public static CacheValidityToSourceValidity createValidity(CacheValidity validity)
public int isValid()
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
in interface SourceValidity
public int isValid(SourceValidity newValidity)
isValid
in interface SourceValidity
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |