java.lang.Object
com.atlassian.confluence.upgrade.upgradetask.splitindex.FileInfo

public class FileInfo extends Object
Collects some data of the files in the index folder. Used to copy the file and leave the directories behind.
Since:
7.9.0
  • Constructor Details

    • FileInfo

      public FileInfo(@NonNull String name, @NonNull File file, long bytes)
      FileInfo object contains the name, the File and the size in bytes for the file
      Parameters:
      name - String
      file - File
      bytes - long nr of bytes this file uses
  • Method Details

    • getName

      public @NonNull String getName()
    • getFile

      public @NonNull File getFile()
    • getSize

      public @org.checkerframework.checker.nullness.qual.NonNull long getSize()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object