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 |
| 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) |
addNodeVersion, equals, getOldProductGroupId, getPluginExecutionOrder, getProductGroupId, getValue, hashCode, isEnabled, 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–2018 eXo Platform SAS. All rights reserved.