Class TrashRetentionRule


  • @ExperimentalApi
    public class TrashRetentionRule
    extends Object
    Since:
    7.14
    • Constructor Detail

      • TrashRetentionRule

        public TrashRetentionRule()
      • TrashRetentionRule

        public TrashRetentionRule​(int maxDeletedAge,
                                  AgeUnit ageUnit)
    • Method Detail

      • getMaxDeletedAge

        public Integer getMaxDeletedAge()
      • setMaxDeletedAge

        public void setMaxDeletedAge​(Integer maxDeletedAge)
      • getDeletedAgeUnit

        public AgeUnit getDeletedAgeUnit()
      • setDeletedAgeUnit

        public void setDeletedAgeUnit​(AgeUnit deletedAgeUnit)
      • getKeepAll

        public boolean getKeepAll()
      • setKeepAll

        public void setKeepAll​(boolean keepAll)
      • hasDeletedAgeLimit

        public boolean hasDeletedAgeLimit()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object