001package jmri.util.startup.configurexml;
002
003import java.util.HashMap;
004import java.util.Map;
005
006import jmri.configurexml.ClassMigration;
007
008import org.openide.util.lookup.ServiceProvider;
009
010/**
011 * Migrate startup actions in XML from the {@code apps} and {@code apps.startup}
012 * packages to the {@code jmri.util.startup} package.
013 *
014 * @author Randall Wood Copyright 2020
015 */
016@ServiceProvider(service = ClassMigration.class)
017public class StartupClassMigration implements ClassMigration {
018
019    @Override
020    public Map<String, String> getMigrations() {
021        Map<String, String> map = new HashMap<>();
022        map.put("apps.configurexml.PerformActionModelXml", "jmri.util.startup.configurexml.PerformActionModelXml");
023        map.put("apps.configurexml.PerformFileModelXml", "jmri.util.startup.configurexml.PerformFileModelXml");
024        map.put("apps.configurexml.PerformScriptModelXml", "jmri.util.startup.configurexml.PerformScriptModelXml");
025        return map;
026    }
027
028}