@Component @Named(value="Legacy") @Singleton public class LegacyDataMigration extends AbstractHibernateDataMigration
componentManager, manager
Constructor and Description |
---|
LegacyDataMigration() |
Modifier and Type | Method and Description |
---|---|
String |
getDescription() |
XWikiDBVersion |
getVersion() |
void |
hibernateMigrate()
Execute the migration itself.
|
getCurrentDBVersion, getLiquibaseChangeLog, getName, getPreHibernateLiquibaseChangeLog, getStore, getXWikiContext, migrate, shouldExecute
public String getDescription()
public XWikiDBVersion getVersion()
public void hibernateMigrate() throws DataMigrationException, XWikiException
AbstractHibernateDataMigration
hibernateMigrate
in class AbstractHibernateDataMigration
DataMigrationException
- on migration error.XWikiException
- on error from the store.Copyright © 2004–2021 XWiki. All rights reserved.