Package jmri.util.startup
Class PerformFileModel
java.lang.Object
jmri.util.startup.AbstractStartupModel
jmri.util.startup.PerformFileModel
- All Implemented Interfaces:
StartupModel
A PerformFileModel object loads an xml file when the program is started.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidPerform the startup action.voidMethods inherited from class jmri.util.startup.AbstractStartupModel
addException, getExceptions, getName, isEnabled, isValid, setEnabled, setName, toString
-
Constructor Details
-
PerformFileModel
public PerformFileModel()
-
-
Method Details
-
getFileName
-
setFileName
-
performAction
Description copied from interface:StartupModelPerform the startup action. The caller is responsible to ensure that this startup model is enabled before calling this method.- Throws:
JmriException- if there is an exception thrown initializing the startup item; the original exception should be available asThrowable.getCause()
-