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 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

      public void run()
      Checks preferences, saving Table contents if necessary.