public interface EMFStoreMigrator
| 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.
|
Set<org.eclipse.emf.common.util.URI> canHandle(Set<org.eclipse.emf.common.util.URI> uris)
uris - the physical URIsSet<org.eclipse.emf.common.util.URI> needsMigration(Set<org.eclipse.emf.common.util.URI> uris)
uris - the physical URIsvoid migrate(Set<org.eclipse.emf.common.util.URI> resources, org.eclipse.core.runtime.IProgressMonitor monitor) throws EMFStoreMigrationException
resources - the URIs of the contents to migratemonitor - a progress monitorEMFStoreMigrationException - if the migration fails.Copyright © 2017. All rights reserved.