Package jmri.configurexml
Class ClassMigrationManager
- java.lang.Object
-
- jmri.configurexml.ClassMigrationManager
-
- All Implemented Interfaces:
InstanceManagerAutoDefault
public class ClassMigrationManager extends java.lang.Object implements InstanceManagerAutoDefault
Get class migrations for theConfigXmlManager
.
-
-
Constructor Summary
Constructors Constructor Description ClassMigrationManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getClassName(java.lang.String className)
Get the class name to be used for the given class name.
-
-
-
Constructor Detail
-
ClassMigrationManager
public ClassMigrationManager()
-
-
Method Detail
-
getClassName
@Nonnull public java.lang.String getClassName(@Nonnull java.lang.String className)
Get the class name to be used for the given class name.- Parameters:
className
- the class name to check for a migration against- Returns:
- the class name to use; either the new name to migrate to or the old name if no migration is required
-
-