Class TrashRemovalStatistic
java.lang.Object
com.atlassian.confluence.impl.retention.analytics.TrashRemovalStatistic
Hold trash removal statistics
- Since:
- 7.14.0
-
Constructor Summary
ConstructorsConstructorDescriptionTrashRemovalStatistic
(int purgedPageCnt, int purgedAttachmentCnt, long purgedAttachmentTotalSizeInBytes) -
Method Summary
Modifier and TypeMethodDescriptionvoid
attachmentDeleted
(List<Attachment> deletedVersions) int
long
int
void
pageOrBlogDeleted
(AbstractPage deletedPageOrBlog) toString()
-
Constructor Details
-
TrashRemovalStatistic
public TrashRemovalStatistic() -
TrashRemovalStatistic
public TrashRemovalStatistic(int purgedPageCnt, int purgedAttachmentCnt, long purgedAttachmentTotalSizeInBytes)
-
-
Method Details
-
pageOrBlogDeleted
-
attachmentDeleted
-
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
-