Class RetentionPeriod


  • @Deprecated
    public class RetentionPeriod
    extends Object
    Deprecated.
    since 7.5.0. Use AuditRetentionConfig from atlassian-audit-api
    The period of time that audit log records are preserved.
    Since:
    5.10
    • Method Detail

      • getNumber

        public int getNumber()
        Deprecated.
      • setNumber

        public void setNumber​(int number)
        Deprecated.
      • getUnits

        public ChronoUnit getUnits()
        Deprecated.
      • setUnits

        public void setUnits​(ChronoUnit units)
        Deprecated.
      • isLongerThan

        public boolean isLongerThan​(RetentionPeriod other)
        Deprecated.
      • equals

        public boolean equals​(Object o)
        Deprecated.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Deprecated.
        Overrides:
        hashCode in class Object