public class UpgradeLocalGadgetsPlugin
extends org.exoplatform.commons.upgrade.UpgradeProductPlugin
| Modifier and Type | Field and Description |
|---|---|
protected org.exoplatform.container.configuration.ConfigurationManager |
configurationManager |
protected org.exoplatform.application.gadget.impl.GadgetRegistryServiceImpl |
gadgetRegistryService |
protected org.exoplatform.services.jcr.RepositoryService |
repositoryService |
protected org.exoplatform.application.gadget.SourceStorage |
sourceStorage |
asyncUpgradeExecution, executeOnlyOnce, OLD_PRODUCT_GROUP_ID, oldProductGroupId, PRODUCT_GROUP_ID, productGroupId, targetVersion, UPGRADE_COMPLETED_STATUS, UPGRADE_PLUGIN_ASYNC, UPGRADE_PLUGIN_ENABLE, UPGRADE_PLUGIN_EXECUTE_ONCE_PARAMETER, UPGRADE_PLUGIN_EXECUTION_ORDER, UPGRADE_PLUGIN_TARGET_PARAMETER| Constructor and Description |
|---|
UpgradeLocalGadgetsPlugin(org.exoplatform.container.configuration.ConfigurationManager configurationManager,
org.exoplatform.services.jcr.RepositoryService repositoryService,
org.exoplatform.application.gadget.SourceStorage sourceStorage,
org.exoplatform.application.gadget.GadgetRegistryService gadgetRegistryService,
org.exoplatform.container.xml.InitParams initParams,
org.exoplatform.commons.chromattic.ChromatticManager chromatticManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
processUpgrade(String oldVersion,
String newVersion) |
boolean |
shouldProceedToUpgrade(String newVersion,
String previousVersion) |
addNodeVersion, afterUpgrade, beforeUpgrade, equals, getOldProductGroupId, getPluginExecutionOrder, getProductGroupId, getTargetVersion, getValue, hashCode, isAsyncUpgradeExecution, isEnabled, isExecuteOnlyOnce, shouldProceedToUpgrade, storeValueForPluginprotected org.exoplatform.services.jcr.RepositoryService repositoryService
protected org.exoplatform.container.configuration.ConfigurationManager configurationManager
protected org.exoplatform.application.gadget.SourceStorage sourceStorage
protected org.exoplatform.application.gadget.impl.GadgetRegistryServiceImpl gadgetRegistryService
public UpgradeLocalGadgetsPlugin(org.exoplatform.container.configuration.ConfigurationManager configurationManager,
org.exoplatform.services.jcr.RepositoryService repositoryService,
org.exoplatform.application.gadget.SourceStorage sourceStorage,
org.exoplatform.application.gadget.GadgetRegistryService gadgetRegistryService,
org.exoplatform.container.xml.InitParams initParams,
org.exoplatform.commons.chromattic.ChromatticManager chromatticManager)
Copyright © 2003–2019 eXo Platform SAS. All rights reserved.