Package io.meeds.chat.upgrade
Class MatrixRoomAndAccountsUpgradePlugin
java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.commons.upgrade.UpgradeProductPlugin
io.meeds.chat.upgrade.MatrixRoomAndAccountsUpgradePlugin
- All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin
public class MatrixRoomAndAccountsUpgradePlugin
extends org.exoplatform.commons.upgrade.UpgradeProductPlugin
-
Field Summary
Fields inherited from class org.exoplatform.commons.upgrade.UpgradeProductPlugin
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_PARAMETERFields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name -
Constructor Summary
ConstructorsConstructorDescriptionMatrixRoomAndAccountsUpgradePlugin(org.exoplatform.container.xml.InitParams initParams, org.exoplatform.social.core.space.spi.SpaceService spaceService, MatrixService matrixService, org.exoplatform.services.organization.OrganizationService organizationService, org.exoplatform.social.core.manager.IdentityManager identityManager) -
Method Summary
Modifier and TypeMethodDescriptionvoidprocessUpgrade(String s, String s1) booleanshouldProceedToUpgrade(String newVersion, String previousVersion) Methods inherited from class org.exoplatform.commons.upgrade.UpgradeProductPlugin
afterUpgrade, beforeUpgrade, equals, getPluginExecutionOrder, getProductGroupId, getTargetVersion, getValue, hashCode, isAsyncUpgradeExecution, isEnabled, isExecuteOnlyOnce, shouldProceedToUpgrade, storeValueForPluginMethods inherited from class org.exoplatform.container.component.BaseComponentPlugin
getDescription, getName, setDescription, setName
-
Constructor Details
-
MatrixRoomAndAccountsUpgradePlugin
public MatrixRoomAndAccountsUpgradePlugin(org.exoplatform.container.xml.InitParams initParams, org.exoplatform.social.core.space.spi.SpaceService spaceService, MatrixService matrixService, org.exoplatform.services.organization.OrganizationService organizationService, org.exoplatform.social.core.manager.IdentityManager identityManager)
-
-
Method Details
-
processUpgrade
- Specified by:
processUpgradein classorg.exoplatform.commons.upgrade.UpgradeProductPlugin
-
shouldProceedToUpgrade
- Overrides:
shouldProceedToUpgradein classorg.exoplatform.commons.upgrade.UpgradeProductPlugin
-