Class RetentionRule
java.lang.Object
com.atlassian.confluence.api.model.retention.RetentionRule
- Since:
- 7.12
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionRetentionRule
(Integer maxAge, AgeUnit ageUnit, Integer maxNumberOfVersions, boolean keepAll) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
boolean
boolean
boolean
int
hashCode()
boolean
void
setAgeUnit
(AgeUnit ageUnit) void
setKeepAll
(boolean keepAll) void
void
setMaxNumberOfVersions
(Integer maxNumberOfVersions) toString()
validate()
-
Constructor Details
-
RetentionRule
-
RetentionRule
public RetentionRule()
-
-
Method Details
-
getMaxAge
-
setMaxAge
-
getAgeUnit
-
setAgeUnit
-
getMaxNumberOfVersions
-
setMaxNumberOfVersions
-
getKeepAll
public boolean getKeepAll() -
setKeepAll
public void setKeepAll(boolean keepAll) -
hasVersionLimit
public boolean hasVersionLimit() -
hasAgeLimit
public boolean hasAgeLimit() -
validate
-
calculateMaxDate
-
equals
-
hashCode
public int hashCode() -
toString
-
builder
-