Interface DownloadsFolder

All Known Implementing Classes:
BrowserDownloadsFolder, GridDownloadsFolder, SelenoidDownloadsFolder, SharedDownloadsFolder

public interface DownloadsFolder
  • Method Details

    • files

      List<File> files()
    • filesNewerThan

      List<DownloadedFile> filesNewerThan(long modifiedAfterTs)
    • cleanupBeforeDownload

      void cleanupBeforeDownload()
    • deleteIfEmpty

      void deleteIfEmpty()
    • hasFiles

      default boolean hasFiles(Set<String> extensions, FileFilter excludingFilter)
    • modificationTimes

      default Map<String,Long> modificationTimes()
    • lastModificationTime

      default Optional<Long> lastModificationTime()
    • filesAsString

      default String filesAsString()
    • getPath

      String getPath()