Class AttachmentV3toV4MigrationAction
- java.lang.Object
-
- com.atlassian.confluence.admin.actions.AttachmentV3toV4MigrationAction
-
- All Implemented Interfaces:
com.atlassian.config.lifecycle.LifecycleItem
public class AttachmentV3toV4MigrationAction extends Object implements com.atlassian.config.lifecycle.LifecycleItem
-
-
Field Summary
Fields Modifier and Type Field Description static StringV_3_TO_V_4_MIGRATION_LOCK
-
Constructor Summary
Constructors Constructor Description AttachmentV3toV4MigrationAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonRequested(ZduFinalizationRequestEvent e)voidsetAttachmentDirectoryLocationResolverV003(AttachmentDataStorageLocationResolver attachmentDirectoryLocationResolverV003)voidsetAttachmentMigrationExecutorService(ExecutorService attachmentMigrationExecutorService)voidsetAttachmentMigratorToV4(AttachmentMigratorToV4 attachmentMigratorToV4)voidsetClusterLockService(com.atlassian.beehive.ClusterLockService clusterLockService)voidsetClusterManager(ClusterManager clusterManager)voidsetEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher)voidsetSalDarkFeatureManager(com.atlassian.sal.api.features.DarkFeatureManager salDarkFeatureManager)voidsetZduManager(ZduManager zduManager)voidshutdown(com.atlassian.config.lifecycle.LifecycleContext lifecycleContext)voidstartup(com.atlassian.config.lifecycle.LifecycleContext lifecycleContext)
-
-
-
Field Detail
-
V_3_TO_V_4_MIGRATION_LOCK
public static final String V_3_TO_V_4_MIGRATION_LOCK
- See Also:
- Constant Field Values
-
-
Method Detail
-
startup
public void startup(com.atlassian.config.lifecycle.LifecycleContext lifecycleContext) throws InterruptedException- Specified by:
startupin interfacecom.atlassian.config.lifecycle.LifecycleItem- Throws:
InterruptedException
-
onRequested
@EventListener public void onRequested(ZduFinalizationRequestEvent e) throws InterruptedException
- Throws:
InterruptedException
-
shutdown
public void shutdown(com.atlassian.config.lifecycle.LifecycleContext lifecycleContext) throws Exception- Specified by:
shutdownin interfacecom.atlassian.config.lifecycle.LifecycleItem- Throws:
Exception
-
setAttachmentDirectoryLocationResolverV003
public void setAttachmentDirectoryLocationResolverV003(AttachmentDataStorageLocationResolver attachmentDirectoryLocationResolverV003)
-
setAttachmentMigratorToV4
public void setAttachmentMigratorToV4(AttachmentMigratorToV4 attachmentMigratorToV4)
-
setSalDarkFeatureManager
public void setSalDarkFeatureManager(com.atlassian.sal.api.features.DarkFeatureManager salDarkFeatureManager)
-
setAttachmentMigrationExecutorService
public void setAttachmentMigrationExecutorService(ExecutorService attachmentMigrationExecutorService)
-
setClusterLockService
public void setClusterLockService(com.atlassian.beehive.ClusterLockService clusterLockService)
-
setClusterManager
public void setClusterManager(ClusterManager clusterManager)
-
setZduManager
public void setZduManager(ZduManager zduManager)
-
setEventPublisher
public void setEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher)
-
-