migrate

abstract fun migrate(map: MutableMap<String, Any?>): MutableMap<String, Any?>

Transforms the raw configuration map from fromVersion to toVersion.

Implementations may modify the map in-place or return a new map. The configVersion key is automatically updated by MigrationRunner after all migrations complete, so implementations should not set it.

Return

The transformed map at toVersion.

Since

1.0

Parameters

map

The mutable raw YAML map representing the configuration at fromVersion.

See also