Class ExcludeConfig

java.lang.Object
org.radarbase.schema.validation.config.ExcludeConfig

public class ExcludeConfig extends Object
TODO.
  • Field Details

    • REPOSITORY_NAME

      public static final String REPOSITORY_NAME
      Repository name.
      See Also:
    • VALID_INPUT_PATTERN

      public static final Pattern VALID_INPUT_PATTERN
      Regex for validating the yml file.
  • Constructor Details

    • ExcludeConfig

      public ExcludeConfig()
  • Method Details

    • load

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

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

      public boolean skipFile(Path checkPath)
      TODO.
      Parameters:
      checkPath - TODO
      Returns:
      TODO
    • setFiles

      public void setFiles(String... files)
    • setFiles

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

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

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

      public Path getRoot()
    • setRoot

      public void setRoot(Path root)