Class SpecificationsValidator


  • public class SpecificationsValidator
    extends java.lang.Object
    Validates RADAR-Schemas specifications.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String YML_EXTENSION  
    • Constructor Summary

      Constructors 
      Constructor Description
      SpecificationsValidator​(java.nio.file.Path root, ExcludeConfig config)
      Specifications validator for given RADAR-Schemas directory.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean specificationsAreYmlFiles​(org.radarbase.schema.Scope scope)
      Check that all files in the specifications directory are YAML files.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SpecificationsValidator

        public SpecificationsValidator​(java.nio.file.Path root,
                                       ExcludeConfig 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

        public boolean specificationsAreYmlFiles​(org.radarbase.schema.Scope scope)
                                          throws java.io.IOException
        Check that all files in the specifications directory are YAML files.
        Throws:
        java.io.IOException