Class MissingLicenseValidator
java.lang.Object
org.incenp.obofoundry.sssom.checks.MissingLicenseValidator
- All Implemented Interfaces:
IMappingSetValidator
Checks that a mapping set has a license.
The license slot is officially considered as required at the
set level, though historically both SSSOM-Py and SSSOM-Java have been lenient
on that requirement.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvalidate(MappingSet ms) Checks a mapping set for a possible post-parsing error.
-
Constructor Details
-
MissingLicenseValidator
public MissingLicenseValidator()
-
-
Method Details
-
validate
Description copied from interface:IMappingSetValidatorChecks a mapping set for a possible post-parsing error.- Specified by:
validatein interfaceIMappingSetValidator- Parameters:
ms- The mapping set to check.- Returns:
- An error code, or
nullif the set passes the test represented by this object.
-