Class RetentionRuleValidator
- java.lang.Object
-
- com.atlassian.confluence.api.model.retention.RetentionRuleValidator
-
public class RetentionRuleValidator extends Object
Helper class to validate retention rule fields- Since:
- 7.14
-
-
Field Summary
Fields Modifier and Type Field Description static Integer
MAX_AGE_LOWER_LIMIT
static Integer
MAX_AGE_UPPER_LIMIT
static Integer
MAX_NUMBER_LOWER_LIMIT
static Integer
MAX_NUMBER_UPPER_LIMIT
-
Constructor Summary
Constructors Constructor Description RetentionRuleValidator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Boolean
isValidAgeUnit(AgeUnit ageUnit, Integer maxAge)
static Boolean
isValidMaxAge(Integer maxAge)
static Boolean
isValidMaxNumber(Integer maxNumberOfVersions)
-