Class RetentionPeriod
- java.lang.Object
-
- com.atlassian.confluence.api.model.audit.RetentionPeriod
-
@Deprecated public class RetentionPeriod extends Object
Deprecated.since 7.5.0. Use AuditRetentionConfig from atlassian-audit-apiThe period of time that audit log records are preserved.- Since:
- 5.10
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(Object o)
Deprecated.int
getNumber()
Deprecated.ChronoUnit
getUnits()
Deprecated.int
hashCode()
Deprecated.boolean
isLongerThan(RetentionPeriod other)
Deprecated.static RetentionPeriod
of(int number, ChronoUnit units)
Deprecated.void
setNumber(int number)
Deprecated.void
setUnits(ChronoUnit units)
Deprecated.
-
-
-
Method Detail
-
of
public static RetentionPeriod of(int number, ChronoUnit units)
Deprecated.
-
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.
-
-