001package jmri.jmrix.pi.configurexml; 002 003import java.util.HashMap; 004import java.util.Map; 005import jmri.configurexml.ClassMigration; 006import org.openide.util.lookup.ServiceProvider; 007 008/** 009 * Raspberry Pi class migrations for the 010 * {@link jmri.configurexml.ConfigXmlManager} to use. 011 * 012 * @author Randall Wood Copyright 2017 013 */ 014@ServiceProvider(service = ClassMigration.class) 015public class RaspberryPiClassMigration implements ClassMigration { 016 017 @Override 018 public Map<String, String> getMigrations() { 019 Map<String, String> migrations = new HashMap<>(); 020 migrations.put("jmri.jmrix.pi.configurexml.ConnectionConfigXml", "jmri.jmrix.pi.configurexml.RaspberryPiConnectionConfigXml"); 021 return migrations; 022 } 023 024}