Package jmri.jmrix.can
Class ConfigurationManager
java.lang.Object
jmri.jmrix.can.ConfigurationManager
- Direct Known Subclasses:
CanConfigurationManager,CbusConfigurationManager,NmraConfigurationManager,OlcbConfigurationManager
Does configuration for various CAN-based communications implementations.
TODO It would be good to replace this with properties-based method for redirecting to classes in particular subpackages.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumEnumerate support for switching programming modes in connected hardwarestatic enum -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreate a new ConfigurationManager -
Method Summary
Modifier and TypeMethodDescriptionabstract voidabstract voiddispose()Dispose of the ConfigurationManagerabstract <T> Tprotected abstract ResourceBundlestatic String[]Provide the current set of "Option1" valuesabstract booleanGet which managers this class provides.static voidsetMERG()Set the list of protocols to start with MERG.static voidSet the list of protocols to start with OpenLCB.static voidsetSPROG()Set the list of protocols to start with SPROG.
-
Field Details
-
SPROGCBUS
- See Also:
-
MERGCBUS
- See Also:
-
OPENLCB
- See Also:
-
RAWCAN
- See Also:
-
TEST
- See Also:
-
adapterMemo
-
-
Constructor Details
-
ConfigurationManager
Create a new ConfigurationManager- Parameters:
memo- System Connection
-
-
Method Details
-
getSystemOptions
Provide the current set of "Option1" values- Returns:
- Copy of System Options Array
-
setOpenLCB
Set the list of protocols to start with OpenLCB. -
setMERG
Set the list of protocols to start with MERG. -
setSPROG
Set the list of protocols to start with SPROG. -
configureManagers
-
provides
Get which managers this class provides.- Parameters:
type- class to query.- Returns:
- true if provided, else false.
-
get
-
dispose
Dispose of the ConfigurationManager -
getActionModelResourceBundle
-