public class MixinCleanerUpgradePlugin
extends org.exoplatform.commons.upgrade.UpgradeProductPlugin
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_WORKSPACE_NAME |
static String |
MIGRATION_STATUS |
static int |
UPDATE_LAST_NODE_FREQ |
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 |
|---|
MixinCleanerUpgradePlugin(org.exoplatform.container.PortalContainer portalContainer,
org.exoplatform.services.jcr.RepositoryService repositoryService,
org.exoplatform.services.transaction.TransactionService txService,
org.exoplatform.commons.api.settings.SettingService settingService,
org.exoplatform.container.xml.InitParams initParams) |
| Modifier and Type | Method and Description |
|---|---|
long |
getTotalCount() |
boolean |
isUpgradeFinished() |
void |
processUpgrade(String oldVersion,
String newVersion) |
boolean |
shouldProceedToUpgrade(String newVersion,
String oldVersion) |
afterUpgrade, beforeUpgrade, equals, getPluginExecutionOrder, getProductGroupId, getTargetVersion, getValue, hashCode, isAsyncUpgradeExecution, isEnabled, isExecuteOnlyOnce, shouldProceedToUpgrade, storeValueForPluginpublic static final String DEFAULT_WORKSPACE_NAME
public static final String MIGRATION_STATUS
public static final int UPDATE_LAST_NODE_FREQ
public MixinCleanerUpgradePlugin(org.exoplatform.container.PortalContainer portalContainer,
org.exoplatform.services.jcr.RepositoryService repositoryService,
org.exoplatform.services.transaction.TransactionService txService,
org.exoplatform.commons.api.settings.SettingService settingService,
org.exoplatform.container.xml.InitParams initParams)
portalContainer - repositoryService - txService - initParams - workspace: workspace on which the operation will start.
mixinsCleanup.includes, mixinsCleanup.excludespublic boolean shouldProceedToUpgrade(String newVersion, String oldVersion)
shouldProceedToUpgrade in class org.exoplatform.commons.upgrade.UpgradeProductPluginpublic void processUpgrade(String oldVersion, String newVersion)
processUpgrade in class org.exoplatform.commons.upgrade.UpgradeProductPluginpublic boolean isUpgradeFinished()
public long getTotalCount()
Copyright © 2003–2019 eXo Platform SAS. All rights reserved.