Class EvaluatedTrash
- java.lang.Object
-
- com.atlassian.confluence.impl.retention.rules.EvaluatedTrash
-
public class EvaluatedTrash extends Object
Result of applying current trash retention rules to a trashed entity- Since:
- 7.14.0
-
-
Constructor Summary
Constructors Constructor Description EvaluatedTrash(SpaceContentEntityObject trash, boolean shouldBeDeleted, RuleScope ruleScope)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RuleScope
getRuleScope()
SpaceContentEntityObject
getTrash()
boolean
shouldBeDeleted()
String
toString()
-
-
-
Constructor Detail
-
EvaluatedTrash
public EvaluatedTrash(SpaceContentEntityObject trash, boolean shouldBeDeleted, RuleScope ruleScope)
-
-
Method Detail
-
getTrash
public SpaceContentEntityObject getTrash()
- Returns:
- the trashed entity
-
shouldBeDeleted
public boolean shouldBeDeleted()
- Returns:
- whether the trashed entity should be deleted per current rules
-
getRuleScope
public RuleScope getRuleScope()
- Returns:
- which rule decided {@link this#shouldBeDeleted()}
-
-