| Summary: | Encode custom migrations in Java | ||
|---|---|---|---|
| Product: | [Modeling] Edapt | Reporter: | Markus Herrmannsdoerfer <herrmama> |
| Component: | Core | Assignee: | Markus Herrmannsdoerfer <herrmama> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Markus Herrmannsdoerfer
Custom migrations can now be specified in Java classes. These classes have to inherit from the class CustomMigration which provides methods to perform the migration before or after the metamodel adaptation. Thus, in contrast to Groovy, the specification of the metamodel adaptation is no longer part of the specification of the custom migration. Moreover, the custom migration specification is no longer stored inside the history model, like was done for Groovy migrations. There is also support to create and edit a custom migration. |