Class RetentionRule
- java.lang.Object
-
- com.atlassian.confluence.api.model.retention.RetentionRule
-
public class RetentionRule extends Object
- Since:
- 7.12
-
-
Constructor Summary
Constructors Constructor Description RetentionRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocalDate
calculateMaxDate(LocalDate now)
boolean
equals(Object other)
AgeUnit
getAgeUnit()
boolean
getKeepAll()
Integer
getMaxAge()
Integer
getMaxNumberOfVersions()
boolean
hasAgeLimit()
int
hashCode()
boolean
hasVersionLimit()
void
setAgeUnit(AgeUnit ageUnit)
void
setKeepAll(boolean keepAll)
void
setMaxAge(Integer maxAge)
void
setMaxNumberOfVersions(Integer maxNumberOfVersions)
String
toString()
List<String>
validate()
-
-
-
Method Detail
-
getMaxAge
public Integer getMaxAge()
-
setMaxAge
public void setMaxAge(Integer maxAge)
-
getAgeUnit
public AgeUnit getAgeUnit()
-
setAgeUnit
public void setAgeUnit(AgeUnit ageUnit)
-
getMaxNumberOfVersions
public Integer getMaxNumberOfVersions()
-
setMaxNumberOfVersions
public void setMaxNumberOfVersions(Integer maxNumberOfVersions)
-
getKeepAll
public boolean getKeepAll()
-
setKeepAll
public void setKeepAll(boolean keepAll)
-
hasVersionLimit
public boolean hasVersionLimit()
-
hasAgeLimit
public boolean hasAgeLimit()
-
-