001package jmri.jmrix.powerline;
002
003import jmri.jmrix.ConnectionTypeList;
004import org.openide.util.lookup.ServiceProvider;
005
006/**
007 * Returns a list of valid Powerline Connection Types
008 *
009 * @author Bob Jacobsen Copyright (C) 2010
010 * @author Kevin Dickerson Copyright (C) 2010
011  *
012 */
013@ServiceProvider(service = ConnectionTypeList.class)
014public class SerialConnectionTypeList implements jmri.jmrix.ConnectionTypeList {
015
016    public static final String POWERLINE = "Powerline";
017
018    @Override
019    public String[] getAvailableProtocolClasses() {
020        return new String[]{
021            "jmri.jmrix.powerline.cm11.ConnectionConfig",
022            "jmri.jmrix.powerline.cp290.ConnectionConfig",
023            "jmri.jmrix.powerline.insteon2412s.ConnectionConfig",
024            "jmri.jmrix.powerline.simulator.ConnectionConfig"
025        };
026    }
027
028    @Override
029    public String[] getManufacturers() {
030        return new String[]{POWERLINE};
031    }
032
033}