Class ExcludeConfig


  • public class ExcludeConfig
    extends java.lang.Object
    TODO.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String REPOSITORY_NAME
      Repository name.
      static java.util.regex.Pattern VALID_INPUT_PATTERN
      Regex for validating the yml file.
    • Constructor Summary

      Constructors 
      Constructor Description
      ExcludeConfig()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.nio.file.Path getRoot()  
      java.util.Map<java.lang.String,​org.radarbase.schema.validation.config.ConfigItem> getValidation()  
      boolean isSkipped​(SchemaField field)
      TODO.
      static ExcludeConfig load​(java.nio.file.Path path)
      Load the ExcludeConfig from file.
      void setFiles​(java.lang.String... files)  
      void setFiles​(java.util.Collection<java.lang.String> files)
      Set the files to be excluded.
      void setRoot​(java.nio.file.Path root)  
      void setValidation​(java.util.Map<java.lang.String,​org.radarbase.schema.validation.config.ConfigItem> validation)
      Set the validation to be excluded.
      boolean skipFile​(java.nio.file.Path checkPath)
      TODO.
      • Methods inherited from class java.lang.Object

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

      • REPOSITORY_NAME

        public static final java.lang.String REPOSITORY_NAME
        Repository name.
        See Also:
        Constant Field Values
      • VALID_INPUT_PATTERN

        public static final java.util.regex.Pattern VALID_INPUT_PATTERN
        Regex for validating the yml file.
    • Constructor Detail

      • ExcludeConfig

        public ExcludeConfig()
    • Method Detail

      • load

        public static ExcludeConfig load​(java.nio.file.Path path)
                                  throws java.io.IOException
        Load the ExcludeConfig from file.
        Throws:
        java.io.IOException
      • isSkipped

        public boolean isSkipped​(SchemaField field)
        TODO.
        Returns:
        TODO
      • skipFile

        public boolean skipFile​(java.nio.file.Path checkPath)
        TODO.
        Parameters:
        checkPath - TODO
        Returns:
        TODO
      • setFiles

        public void setFiles​(java.lang.String... files)
      • setFiles

        public void setFiles​(java.util.Collection<java.lang.String> files)
        Set the files to be excluded.
      • setValidation

        public void setValidation​(java.util.Map<java.lang.String,​org.radarbase.schema.validation.config.ConfigItem> validation)
        Set the validation to be excluded.
      • getValidation

        public java.util.Map<java.lang.String,​org.radarbase.schema.validation.config.ConfigItem> getValidation()
      • getRoot

        public java.nio.file.Path getRoot()
      • setRoot

        public void setRoot​(java.nio.file.Path root)