org.eclipse.emf.emfstore.internal.client.startup
Class ClientHrefMigrator
java.lang.Object
org.eclipse.emf.emfstore.internal.server.startup.ServerHrefMigrator
org.eclipse.emf.emfstore.internal.client.startup.ClientHrefMigrator
public class ClientHrefMigrator
- extends ServerHrefMigrator
When using the default EMF XMI persistence hrefs between resources are persisted based on the non-normalized URIs of
the resources. Since version 1.1 introduced a new URI scheme for EMFStore, files that were persisted with version 1.0
and prior need to be migrated.
This migrator will update the Hrefs in legacy files on the client side.
- Author:
- jfaltermeier
Method Summary |
boolean |
migrate()
Performs the migration, if needed. |
ClientHrefMigrator
public ClientHrefMigrator()
migrate
public boolean migrate()
- Performs the migration, if needed. Creates a backup beforehand.
- Overrides:
migrate
in class ServerHrefMigrator
- Returns:
true
if migration was successful, false
if an error occurred and the client
startup should be canceled.
Copyright © 2015. All Rights Reserved.