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