public interface TrashRemovalManager
GlobalRetentionPolicy or SpaceRetentionPolicy
Entities can be deleted gradually in batches (soft removal) or all at once (hard removal)| Modifier and Type | Method and Description |
|---|---|
void |
hardRemove()
Delete all trashed entities per trash retention rules
Note: This may take a long time depend on number of trashed entities that fail retention rules
|
void |
softRemove(int limit)
Delete up to
batchSize trashed entities per trash retention rules |
void softRemove(int limit)
batchSize trashed entities per trash retention ruleslimit - maximum number of trashed entities to delete in this runvoid hardRemove()
Copyright © 2003–2022 Atlassian. All rights reserved.