-
- All Implemented Interfaces:
public class SpecificationsValidatorValidates RADAR-Schemas specifications.
-
-
Field Summary
Fields Modifier and Type Field Description public final static StringYML_EXTENSION
-
Constructor Summary
Constructors Constructor Description SpecificationsValidator(Path root, SchemaConfig config)Specifications validator for given RADAR-Schemas directory.
-
Method Summary
Modifier and Type Method Description booleanspecificationsAreYmlFiles(Scope scope)Check that all files in the specifications directory are YAML files. <T> booleancheckSpecificationParsing(Scope scope, Class<T> clazz)-
-
Constructor Detail
-
SpecificationsValidator
SpecificationsValidator(Path root, SchemaConfig config)
Specifications validator for given RADAR-Schemas directory.- Parameters:
root- RADAR-Schemas directory.config- configuration to exclude certain schemas or fields from validation.
-
-
Method Detail
-
specificationsAreYmlFiles
boolean specificationsAreYmlFiles(Scope scope)
Check that all files in the specifications directory are YAML files.
-
checkSpecificationParsing
<T> boolean checkSpecificationParsing(Scope scope, Class<T> clazz)
-
-
-
-