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 IntegerMAX_AGE_LOWER_LIMITstatic IntegerMAX_AGE_UPPER_LIMITstatic IntegerMAX_NUMBER_LOWER_LIMITstatic IntegerMAX_NUMBER_UPPER_LIMIT
-
Constructor Summary
Constructors Constructor Description RetentionRuleValidator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BooleanisValidAgeUnit(AgeUnit ageUnit, Integer maxAge)static BooleanisValidMaxAge(Integer maxAge)static BooleanisValidMaxNumber(Integer maxNumberOfVersions)
-