Class QuotaInfo

java.lang.Object
org.nuxeo.ecm.quota.size.QuotaInfo

public class QuotaInfo extends Object
Helper class to have easy to display numbers and stats
Since:
5.6
Author:
Tiry
  • Field Details

  • Constructor Details

    • QuotaInfo

      public QuotaInfo(long innerSize, long totalSize, long trashSize, long versionsSize, long maxQuota)
  • Method Details

    • getInnerSize

      public QuotaDisplayValue getInnerSize()
    • getTotalSize

      public QuotaDisplayValue getTotalSize()
    • getMaxQuota

      public QuotaDisplayValue getMaxQuota()
    • getTrashSize

      public QuotaDisplayValue getTrashSize()
    • getSizeVersions

      public QuotaDisplayValue getSizeVersions()
    • getLiveSize

      public QuotaDisplayValue getLiveSize()
    • toString

      public String toString()
      Returns the string representation of this quota informations. to = total size in bytes i = inner size in bytes v = versions' size in bytes l = live size in bytes tr = trash size in bytes m = maximum quota in bytes
      Overrides:
      toString in class Object