Class CmsFolderReportEntry

java.lang.Object
org.opencms.file.quota.CmsFolderReportEntry

public class CmsFolderReportEntry extends Object
Information about a folder's size.
  • Constructor Details

    • CmsFolderReportEntry

      public CmsFolderReportEntry(long treeSize, long treeSizeExclusive)
      Creates a new entry.
      Parameters:
      treeSize - the total tree size
      treeSizeExclusive - the total tree size without any subtrees corresponding to folders that have also been requested in the report
  • Method Details

    • getTreeSize

      public long getTreeSize()
      Gets the total sum of file sizes in the subtree starting at this folder.
      Returns:
      the file size sum
    • getTreeSizeExclusive

      public long getTreeSizeExclusive()
      Gets the total sum of file sizes in the subtree starting at this folder, but excluding the contents of other requested folders.
      Returns:
      the exclusive tree size
    • toString

      public String toString()
      Overrides:
      toString in class Object
      See Also: