Class MeasuringPluginUpgradeManager
- java.lang.Object
-
- com.atlassian.sal.core.upgrade.DefaultPluginUpgradeManager
-
- com.atlassian.sal.confluence.lifecycle.MeasuringPluginUpgradeManager
-
- All Implemented Interfaces:
com.atlassian.sal.api.lifecycle.LifecycleAware
,com.atlassian.sal.api.upgrade.PluginUpgradeManager
,org.springframework.beans.factory.InitializingBean
public class MeasuringPluginUpgradeManager extends com.atlassian.sal.core.upgrade.DefaultPluginUpgradeManager
Measures the execution times of individual upgrade tasks.- Since:
- 5.6
-
-
Constructor Summary
Constructors Constructor Description MeasuringPluginUpgradeManager(List<com.atlassian.sal.api.upgrade.PluginUpgradeTask> upgradeTasks, com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate, com.atlassian.plugin.PluginAccessor pluginAccessor, com.atlassian.sal.api.pluginsettings.PluginSettingsFactory pluginSettingsFactory, com.atlassian.plugin.event.PluginEventManager pluginEventManager, com.atlassian.beehive.ClusterLockService clusterLockService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<com.atlassian.sal.api.message.Message>
upgradeInternal(com.atlassian.plugin.Plugin plugin)
-
-
-
Constructor Detail
-
MeasuringPluginUpgradeManager
public MeasuringPluginUpgradeManager(List<com.atlassian.sal.api.upgrade.PluginUpgradeTask> upgradeTasks, com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate, com.atlassian.plugin.PluginAccessor pluginAccessor, com.atlassian.sal.api.pluginsettings.PluginSettingsFactory pluginSettingsFactory, com.atlassian.plugin.event.PluginEventManager pluginEventManager, com.atlassian.beehive.ClusterLockService clusterLockService)
-
-
Method Detail
-
upgradeInternal
public List<com.atlassian.sal.api.message.Message> upgradeInternal(com.atlassian.plugin.Plugin plugin)
- Overrides:
upgradeInternal
in classcom.atlassian.sal.core.upgrade.DefaultPluginUpgradeManager
-
-