Package jmri.configurexml
Class DefaultClassMigration
- java.lang.Object
-
- jmri.configurexml.DefaultClassMigration
-
- All Implemented Interfaces:
ClassMigration
public class DefaultClassMigration extends java.lang.Object implements ClassMigration
Default class migrations for theConfigXmlManager
to use.
-
-
Constructor Summary
Constructors Constructor Description DefaultClassMigration()
-
Method Summary
All Methods Instance Methods Concrete 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.
-
-
-
Constructor Detail
-
DefaultClassMigration
public DefaultClassMigration()
-
-
Method Detail
-
getMigrations
public java.util.Map<java.lang.String,java.lang.String> getMigrations()
Description copied from interface:ClassMigration
Get the map of migrated classes, where to the class to be migrated from is the key, and its replacement is the value.- Specified by:
getMigrations
in interfaceClassMigration
- Returns:
- the map of migrations, or an empty map if none are provided.
-
-