Interface MigrationHandler
-
public interface MigrationHandler
Migrate a tcomp data instance from one version to another one. This uses a flat format to make any conversion very easy and an "untyped" structure to avoid- to require the type to be passed through the layers
- to require to instantiate unknown objects
Version
to ensure cross inputs can be handled.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<String,String>
migrate(int incomingVersion, Map<String,String> incomingData)
-
-
-
Method Detail
-
migrate
Map<String,String> migrate(int incomingVersion, Map<String,String> incomingData)
- Parameters:
incomingVersion
- the version of associatedData values.incomingData
- the data sent from the caller. Keys are using the path of the property as in component metadata.- Returns:
- the set of properties for the current version.
-
-