Class RetentionRuleValidator


  • public class RetentionRuleValidator
    extends Object
    Helper class to validate retention rule fields
    Since:
    7.14
    • Field Detail

      • MAX_AGE_LOWER_LIMIT

        public static final Integer MAX_AGE_LOWER_LIMIT
      • MAX_AGE_UPPER_LIMIT

        public static final Integer MAX_AGE_UPPER_LIMIT
      • MAX_NUMBER_LOWER_LIMIT

        public static final Integer MAX_NUMBER_LOWER_LIMIT
      • MAX_NUMBER_UPPER_LIMIT

        public static final Integer MAX_NUMBER_UPPER_LIMIT
    • Constructor Detail

      • RetentionRuleValidator

        public RetentionRuleValidator()
    • Method Detail

      • isValidMaxAge

        public static Boolean isValidMaxAge​(Integer maxAge)
      • isValidMaxNumber

        public static Boolean isValidMaxNumber​(Integer maxNumberOfVersions)