Package jmri.jmrix.can.cbus.eventtable
Class CbusEventTableShutdownTask
java.lang.Object
jmri.implementation.AbstractShutDownTask
jmri.jmrix.can.cbus.eventtable.CbusEventTableShutdownTask
- All Implemented Interfaces:
PropertyChangeListener,Runnable,Callable<Boolean>,EventListener,ShutDownTask
Class to call dispose on a MERG CBUS event table.
This saves the event data to XML prior to shutdown.
-
Constructor Summary
ConstructorsConstructorDescriptionCbusEventTableShutdownTask(String name, CbusEventTableDataModel model) Constructor specifies the warning message and action to take -
Method Summary
Modifier and TypeMethodDescriptionvoidrun()Checks preferences, saving Table contents if necessary.Methods inherited from class jmri.implementation.AbstractShutDownTask
call, getName, isDoRun, propertyChange, setDoRun, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface jmri.ShutDownTask
runEarly
-
Constructor Details
-
CbusEventTableShutdownTask
Constructor specifies the warning message and action to take- Parameters:
name- the name of the task (used in logs)model- the CBUS Event Table instance to dispose of
-
-
Method Details
-
run
Checks preferences, saving Table contents if necessary.
-