Interface ConfigMigration


public interface ConfigMigration
Defines a migration step for configuration data. Implementations should mutate the provided root map in-place.
  • Method Summary

    Modifier and Type
    Method
    Description
    Source version identifier for this migration.
    void
    Applies migration changes to the raw config map.
    Target version identifier for this migration.
  • Method Details

    • fromVersion

      String fromVersion()
      Source version identifier for this migration.
      Returns:
      source version identifier
    • toVersion

      String toVersion()
      Target version identifier for this migration.
      Returns:
      target version identifier
    • migrate

      void migrate(Map<String,Object> root)
      Applies migration changes to the raw config map.
      Parameters:
      root - root config map