Package jmri.util.startup
Class AbstractStartupActionFactory
java.lang.Object
jmri.util.startup.AbstractStartupActionFactory
- All Implemented Interfaces:
JmriServiceProviderInterface
,StartupActionFactory
- Direct Known Subclasses:
AbstractStartupActionFactory
,AnalogClockStartupActionFactory
,AppsStartupActionFactory
,AutomatTableStartupActionFactory
,BeanTableStartupActionFactory
,BlockBossStartupActionFactory
,ConfigureXmlStartupActionFactory
,ConsistToolStartupActionFactory
,CtcEditorStartup
,CtcRunStartup
,DispatcherStartupActionFactory
,DualDecoderStartupActionFactory
,JmriSRCPStartupActionFactory
,JsonServerStartupActionFactory
,JythonStartupActionFactory
,LcdClockStartupActionFactory
,LnMessageStartupActionFactory
,LnTcpStartupActionFactory
,NixieClockStartupActionFactory
,OperationsStartupActionFactory
,PanelStartupActionFactory
,PowerStartupActionFactory
,ResourceBundleStartupActionFactory
,RosterFrameStartupActionFactory
,RosterStartupActionFactory
,SampleConfigStartUpActionFactory
,SendPacketStartupActionFactory
,ServerStartupActionFactory
,SimpleClockStartupActionFactory
,SimpleLightCtrlStartupActionFactory
,SimpleProgStartupActionFactory
,SimpleServerStartupActionFactory
,SimpleTurnoutCtrlStartupActionFactory
,SpeedometerStartupActionFactory
,SymbolicProgStartupActionFactory
,TabbedPreferencesActionFactory
,ThrottleStartupActionFactory
,TimeTableStartup
,ToolsStartupActionFactory
,TreeControlStartupActionFactory
,UsbBrowserStartupActionFactory
,VSDecoderCreationStartupActionFactory
,WebServerStartupActionFactory
,WiThrottleStartupActionFactory
public abstract class AbstractStartupActionFactory extends Object implements StartupActionFactory
Abstract implementation of
StartupActionFactory
that covers some
boilerplate code for most implementations.-
Constructor Details
-
Method Details
-
getTitle
Get the title for the given class using the default locale.This implementation calls
StartupActionFactory.getTitle(java.lang.Class, java.util.Locale)
with the default locale.- Specified by:
getTitle
in interfaceStartupActionFactory
- Parameters:
clazz
- the class- Returns:
- the title
- Throws:
IllegalArgumentException
- if the class is not supported by this factory
-
getOverriddenClasses
Get startup actions overridden by the given class. This is designed to allow a new class to replace a deprecated class.Note: the behavior is undefined if multiple classes override a single class.
This implementation returns an empty array.
- Specified by:
getOverriddenClasses
in interfaceStartupActionFactory
- Parameters:
clazz
- the class- Returns:
- an empty array
- Throws:
IllegalArgumentException
- if the class is not supported by this factory
-