Class DefaultSoftCleanupStatusService
java.lang.Object
com.atlassian.confluence.impl.retention.AbstractSoftCleanupStatusService
com.atlassian.confluence.impl.retention.DefaultSoftCleanupStatusService
- All Implemented Interfaces:
SoftCleanupStatusService
Default service for interacting with VersionsRemovalStatus object
- Since:
- 7.12
-
Field Summary
FieldsFields inherited from class com.atlassian.confluence.impl.retention.AbstractSoftCleanupStatusService
globalPluginSettings, objectMapper -
Constructor Summary
ConstructorsConstructorDescriptionDefaultSoftCleanupStatusService(com.atlassian.sal.api.pluginsettings.PluginSettingsFactory pluginSettingsFactory) -
Method Summary
Modifier and TypeMethodDescriptionGet the Plugin Settings key for the status objectprotected SoftCleanupJobStatusparseStatusFromPluginSettingsValue(Object pluginSettingsValue) Get the existing SoftCleanupJobStatus object from the Plugin Settings valueMethods inherited from class com.atlassian.confluence.impl.retention.AbstractSoftCleanupStatusService
getCurrentStatus, setCurrentStatus
-
Field Details
-
VERSIONS_REMOVAL_STATUS_KEY
- See Also:
-
-
Constructor Details
-
DefaultSoftCleanupStatusService
public DefaultSoftCleanupStatusService(com.atlassian.sal.api.pluginsettings.PluginSettingsFactory pluginSettingsFactory)
-
-
Method Details
-
getStatusPluginSettingsKey
Description copied from class:AbstractSoftCleanupStatusServiceGet the Plugin Settings key for the status object- Specified by:
getStatusPluginSettingsKeyin classAbstractSoftCleanupStatusService- Returns:
- the Plugin Settings key for the status object
-
parseStatusFromPluginSettingsValue
Description copied from class:AbstractSoftCleanupStatusServiceGet the existing SoftCleanupJobStatus object from the Plugin Settings value- Specified by:
parseStatusFromPluginSettingsValuein classAbstractSoftCleanupStatusService- Parameters:
pluginSettingsValue- the Plugin Settings value- Returns:
- the parsed SoftCleanupJobStatus object
-