Class CbusEventTableShutdownTask

  • All Implemented Interfaces:
    java.beans.PropertyChangeListener, java.lang.Runnable, java.util.concurrent.Callable<java.lang.Boolean>, java.util.EventListener, ShutDownTask

    public class CbusEventTableShutdownTask
    extends AbstractShutDownTask
    Class to call dispose on a MERG CBUS event table. This saves the event data to XML prior to shutdown.
    • Constructor Detail

      • CbusEventTableShutdownTask

        public CbusEventTableShutdownTask​(java.lang.String name,
                                          CbusEventTableDataModel model)
        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 Detail

      • run

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