Package jmri.configurexml
Interface ClassMigration
-
- All Known Implementing Classes:
DefaultClassMigration
,RaspberryPiClassMigration
,StartupClassMigration
,SwitchboardEditorClassMigration
,Z21SimulatorClassMigration
public interface ClassMigration
Interface for service provider instances that provide a class migration path that theConfigXmlManager
must be made aware of.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.String>
getMigrations()
Get the map of migrated classes, where to the class to be migrated from is the key, and its replacement is the value.
-
-
-
Method Detail
-
getMigrations
@Nonnull java.util.Map<java.lang.String,java.lang.String> getMigrations()
Get the map of migrated classes, where to the class to be migrated from is the key, and its replacement is the value.- Returns:
- the map of migrations, or an empty map if none are provided.
-
-