Class DefaultTrashRuleEvaluator
- java.lang.Object
-
- com.atlassian.confluence.impl.retention.rules.DefaultTrashRuleEvaluator
-
- All Implemented Interfaces:
TrashRuleEvaluator
public class DefaultTrashRuleEvaluator extends Object implements TrashRuleEvaluator
- Since:
- 7.14.0
-
-
Constructor Summary
Constructors Constructor Description DefaultTrashRuleEvaluator(SpaceRetentionPolicyManager spaceRetentionPolicyManager, TrashManagerInternal trashManagerInternal)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<EvaluatedTrash>
evaluate(TrashRetentionRule globalRule, List<SpaceContentEntityObject> trashedEntities)
Apply a global trash rule to a list of trashed entities which may be affected by more rules at space level
-
-
-
Constructor Detail
-
DefaultTrashRuleEvaluator
public DefaultTrashRuleEvaluator(SpaceRetentionPolicyManager spaceRetentionPolicyManager, TrashManagerInternal trashManagerInternal)
-
-
Method Detail
-
evaluate
public List<EvaluatedTrash> evaluate(TrashRetentionRule globalRule, List<SpaceContentEntityObject> trashedEntities)
Description copied from interface:TrashRuleEvaluator
Apply a global trash rule to a list of trashed entities which may be affected by more rules at space level- Specified by:
evaluate
in interfaceTrashRuleEvaluator
- Parameters:
globalRule
- global retention trash ruletrashedEntities
- trashed entities to be processed- Returns:
- list of evaluation results eg. which trash should be deleted or not
-
-