Class TrashRemovalStatistic

java.lang.Object
com.atlassian.confluence.impl.retention.analytics.TrashRemovalStatistic

public class TrashRemovalStatistic extends Object
Hold trash removal statistics
Since:
7.14.0
  • Constructor Details

    • TrashRemovalStatistic

      public TrashRemovalStatistic()
    • TrashRemovalStatistic

      public TrashRemovalStatistic(int purgedPageCnt, int purgedAttachmentCnt, long purgedAttachmentTotalSizeInBytes)
  • Method Details

    • pageOrBlogDeleted

      public void pageOrBlogDeleted(AbstractPage deletedPageOrBlog)
    • attachmentDeleted

      public void attachmentDeleted(List<Attachment> deletedVersions)
    • getPurgedPageCnt

      public int getPurgedPageCnt()
      Returns:
      total number (all versions) of pages and blogposts that have been deleted in a trash removal job
    • getPurgedAttachmentCnt

      public int getPurgedAttachmentCnt()
      Returns:
      total number (all versions) of attachments that have been deleted in a trash removal job
    • getPurgedAttachmentTotalSizeInBytes

      public long getPurgedAttachmentTotalSizeInBytes()
      Returns:
      total size (in bytes, all versions) of attachments that have been deleted in a trash removal job
    • toString

      public String toString()
      Overrides:
      toString in class Object