Package org.radarbase.schema.validation
Class SpecificationsValidator
java.lang.Object
org.radarbase.schema.validation.SpecificationsValidator
Validates RADAR-Schemas specifications.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSpecificationsValidator(Path root, ExcludeConfig config) Specifications validator for given RADAR-Schemas directory. -
Method Summary
Modifier and TypeMethodDescription<T> booleancheckSpecificationParsing(org.radarbase.schema.Scope scope, Class<T> clazz) booleanspecificationsAreYmlFiles(org.radarbase.schema.Scope scope) Check that all files in the specifications directory are YAML files.
-
Field Details
-
YML_EXTENSION
- See Also:
-
-
Constructor Details
-
SpecificationsValidator
Specifications validator for given RADAR-Schemas directory.- Parameters:
root- RADAR-Schemas directory.config- configuration to exclude certain schemas or fields from validation.
-
-
Method Details
-
specificationsAreYmlFiles
Check that all files in the specifications directory are YAML files.- Throws:
IOException
-
checkSpecificationParsing
public <T> boolean checkSpecificationParsing(org.radarbase.schema.Scope scope, Class<T> clazz) throws IOException - Throws:
IOException
-