|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.excalibur.source.impl.validity.AbstractAggregatedValidity
org.apache.excalibur.source.impl.validity.AggregatedValidity
A validation object using a List.
| Field Summary |
| Fields inherited from interface org.apache.excalibur.source.SourceValidity |
INVALID, UNKNOWN, UNKNWON, VALID |
| Constructor Summary | |
AggregatedValidity()
|
|
| Method Summary | |
int |
isValid()
Check if the component is still valid. |
int |
isValid(SourceValidity validity)
Check if the component is still valid. |
| Methods inherited from class org.apache.excalibur.source.impl.validity.AbstractAggregatedValidity |
add, getValidities, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public AggregatedValidity()
| Method Detail |
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 SourceValiditypublic int isValid(SourceValidity validity)
SourceValidityThe invocation order is that the isValid method of the old Validity object is called with the new one as a parameter.
isValid in interface SourceValidity
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||