public class ReferentialIntegrityValidator
extends java.lang.Object
Constructor and Description |
---|
ReferentialIntegrityValidator(ReferentialIntegrityReport report)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addRIChecker(RIType type) |
void |
addRICheckers(java.util.List<RIChecker> checkers)
Adds an appropriate checker to the validator.
|
boolean |
isValid(java.util.List<gov.nasa.pds.tools.label.Label> catalogs,
java.net.URL allrefs) |
public ReferentialIntegrityValidator(ReferentialIntegrityReport report)
report
- An object representation of a referential integrity
report to log the errors.public boolean isValid(java.util.List<gov.nasa.pds.tools.label.Label> catalogs, java.net.URL allrefs)
public void addRICheckers(java.util.List<RIChecker> checkers)
checkers
- A list of referential integrity checks to perform.public void addRIChecker(RIType type)
Copyright © 2010-2019 Planetary Data System. All Rights Reserved.