public class EdaptMigrator extends Object implements EMFStoreMigrator
EMFStoreMigrator using Edapt.| Constructor and Description |
|---|
EdaptMigrator() |
| Modifier and Type | Method and Description |
|---|---|
Set<org.eclipse.emf.common.util.URI> |
canHandle(Set<org.eclipse.emf.common.util.URI> uris)
Checks if this migrator can work with the specified URIs.
|
void |
migrate(Set<org.eclipse.emf.common.util.URI> resources,
org.eclipse.core.runtime.IProgressMonitor monitor)
Migrate the models in the given URIs from the given source version to the most recent version.
|
Set<org.eclipse.emf.common.util.URI> |
needsMigration(Set<org.eclipse.emf.common.util.URI> uris)
Checks whether the models in the specified URIs need a to be migrated.
|
public Set<org.eclipse.emf.common.util.URI> canHandle(Set<org.eclipse.emf.common.util.URI> uris)
canHandle in interface EMFStoreMigratoruris - the physical URIsEMFStoreMigrator.canHandle(java.util.Set)public Set<org.eclipse.emf.common.util.URI> needsMigration(Set<org.eclipse.emf.common.util.URI> uris)
needsMigration in interface EMFStoreMigratoruris - the physical URIsEMFStoreMigrator.needsMigration(java.util.Set)public void migrate(Set<org.eclipse.emf.common.util.URI> resources, org.eclipse.core.runtime.IProgressMonitor monitor) throws EMFStoreMigrationException
migrate in interface EMFStoreMigratorresources - the URIs of the contents to migratemonitor - a progress monitorEMFStoreMigrationException - if the migration fails.EMFStoreMigrator.migrate(java.util.Set,
org.eclipse.core.runtime.IProgressMonitor)Copyright © 2017. All rights reserved.