Class MissingReviewerValidator
java.lang.Object
org.incenp.obofoundry.sssom.checks.MissingReviewerValidator
- All Implemented Interfaces:
IMappingValidator
Checks that a mapping record that has a
review_date or a
reviewer_agreement also has either a reviewer_id or
a reviewer_label.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionChecks a mapping for a possible post-parsing error.
-
Constructor Details
-
MissingReviewerValidator
public MissingReviewerValidator()
-
-
Method Details
-
validate
Description copied from interface:IMappingValidatorChecks a mapping for a possible post-parsing error.- Specified by:
validatein interfaceIMappingValidator- Parameters:
mapping- The mapping to check.- Returns:
- An error code, or
nullif the set passes the test represented by this object.
-