Class FolderSource.Settings

  • All Implemented Interfaces:
    io.annot8.api.settings.Settings
    Enclosing class:
    FolderSource

    public static class FolderSource.Settings
    extends Object
    implements io.annot8.api.settings.Settings
    • Constructor Detail

      • Settings

        public Settings()
    • Method Detail

      • validate

        public boolean validate()
        Specified by:
        validate in interface io.annot8.api.settings.Settings
      • getPaths

        @Description("List of paths to process")
        public List<Path> getPaths()
      • setPaths

        public void setPaths​(List<Path> paths)
      • getExtensions

        @Description("List of file extensions to accept (accepts all files if no extensions are given)")
        public List<String> getExtensions()
      • setExtensions

        public void setExtensions​(List<String> extensions)
      • isRecursive

        @Description("Should we process paths recursively?")
        public boolean isRecursive()
      • setRecursive

        public void setRecursive​(boolean recursive)