Package gov.nasa.pds.citool.ri
Class ReferentialIntegrityValidator
- java.lang.Object
-
- gov.nasa.pds.citool.ri.ReferentialIntegrityValidator
-
public class ReferentialIntegrityValidator extends Object
Class that checks a set of PDS catalog files for referential integrity.- Author:
- mcayanan
-
-
Constructor Summary
Constructors Constructor Description ReferentialIntegrityValidator(ReferentialIntegrityReport report)
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addRIChecker(RIType type)
void
addRICheckers(List<RIChecker> checkers)
Adds an appropriate checker to the validator.boolean
isValid(List<gov.nasa.pds.tools.label.Label> catalogs, URL allrefs)
-
-
-
Constructor Detail
-
ReferentialIntegrityValidator
public ReferentialIntegrityValidator(ReferentialIntegrityReport report)
Default constructor.- Parameters:
report
- An object representation of a referential integrity report to log the errors.
-
-