Class GlobalRetentionPolicy
java.lang.Object
com.atlassian.confluence.api.model.retention.GlobalRetentionPolicy
- All Implemented Interfaces:
RetentionPolicy
- Since:
- 7.12
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionGlobalRetentionPolicy
(RetentionRule pageRetentionRule, RetentionRule attachmentRetentionRule, TrashRetentionRule trashRetentionRule, String lastModifiedBy, boolean spaceOverridesAllowed) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
boolean
boolean
int
hashCode()
void
setAttachmentRetentionRule
(RetentionRule attachmentRetentionRule) void
setLastModifiedBy
(String lastModifiedBy) void
setPageRetentionRule
(RetentionRule pageRetentionRule) void
setSpaceOverridesAllowed
(boolean spaceOverridesAllowed) void
setTrashRetentionRule
(TrashRetentionRule trashRetentionRule) toString()
validate()
-
Constructor Details
-
GlobalRetentionPolicy
public GlobalRetentionPolicy(RetentionRule pageRetentionRule, RetentionRule attachmentRetentionRule, TrashRetentionRule trashRetentionRule, String lastModifiedBy, boolean spaceOverridesAllowed) -
GlobalRetentionPolicy
public GlobalRetentionPolicy()
-
-
Method Details
-
getPageVersionRule
- Specified by:
getPageVersionRule
in interfaceRetentionPolicy
-
setPageRetentionRule
-
getAttachmentRetentionRule
- Specified by:
getAttachmentRetentionRule
in interfaceRetentionPolicy
-
setTrashRetentionRule
-
getTrashRetentionRule
- Specified by:
getTrashRetentionRule
in interfaceRetentionPolicy
-
setAttachmentRetentionRule
-
getSpaceOverridesAllowed
public boolean getSpaceOverridesAllowed() -
setSpaceOverridesAllowed
public void setSpaceOverridesAllowed(boolean spaceOverridesAllowed) -
getLastModifiedBy
-
setLastModifiedBy
-
validate
- Specified by:
validate
in interfaceRetentionPolicy
-
equals
-
hashCode
public int hashCode() -
toString
-
builder
-