Interface ISortingConfigMigrationContext<T>

Type Parameters:
T - sortable value type

@NonExtendable public interface ISortingConfigMigrationContext<T>
Supplies a converted legacy order to a sorting config.

MezzConfig passes this to ISortingConfigMigrator.migrate(java.nio.file.Path, net.mezzdev.config.api.migration.ISortingConfigMigrationContext<T>). Call setSortedValues(Collection, List) with every value known to the old order and the values that were visible, in their saved order.

Since:
0.3.0
  • Method Details