Class RestrictiveSoftCleanupStatusService
- java.lang.Object
-
- com.atlassian.confluence.impl.retention.RestrictiveSoftCleanupStatusService
-
- All Implemented Interfaces:
SoftCleanupStatusService
public class RestrictiveSoftCleanupStatusService extends Object implements SoftCleanupStatusService
Decorator overSoftCleanupStatusService
, which allows only Confluence administrator to launch the operation.- Since:
- 7.12
-
-
Constructor Summary
Constructors Constructor Description RestrictiveSoftCleanupStatusService(SoftCleanupStatusService delegate, PermissionManager permissionManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SoftCleanupJobStatus
getCurrentStatus()
void
setCurrentStatus(SoftCleanupJobStatus status)
-
-
-
Constructor Detail
-
RestrictiveSoftCleanupStatusService
public RestrictiveSoftCleanupStatusService(SoftCleanupStatusService delegate, PermissionManager permissionManager)
-
-
Method Detail
-
getCurrentStatus
public SoftCleanupJobStatus getCurrentStatus()
- Specified by:
getCurrentStatus
in interfaceSoftCleanupStatusService
-
setCurrentStatus
public void setCurrentStatus(SoftCleanupJobStatus status)
- Specified by:
setCurrentStatus
in interfaceSoftCleanupStatusService
-
-