Package org.eclipse.emf.edapt.migration
Class CustomMigration
- java.lang.Object
-
- org.eclipse.emf.edapt.migration.CustomMigration
-
- Direct Known Subclasses:
BidirectionalChangesCustomMigration
public abstract class CustomMigration extends Object
Base class for custom migrations.- Version:
- $Rev$
- Author:
- herrmama, $Author$
-
-
Constructor Summary
Constructors Constructor Description CustomMigration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
migrateAfter(Model model, Metamodel metamodel)
Migration that needs to be performed after the metamodel change.void
migrateBefore(Model model, Metamodel metamodel)
Migration that needs to be performed before the metamodel change.
-
-
-
Method Detail
-
migrateBefore
public void migrateBefore(Model model, Metamodel metamodel) throws MigrationException
Migration that needs to be performed before the metamodel change.- Throws:
MigrationException
-
migrateAfter
public void migrateAfter(Model model, Metamodel metamodel) throws MigrationException
Migration that needs to be performed after the metamodel change.- Throws:
MigrationException
-
-