jmri
Interface ShutDownTask

All Known Implementing Classes:
AbstractShutDownTask, QuietShutDownTask, SwingShutDownTask

public interface ShutDownTask

Execute a specific task before the program terminates.

Tasks should leave the system in a state that can continue, in case a later task aborts the shutdown.

Author:
Bob Jacobsen Copyright (C) 2008

Method Summary
 boolean execute()
          Take the necessary action.
 String name()
          Name to be provided to the user when information about this task is presented.
 

Method Detail

execute

boolean execute()
Take the necessary action.

Returns:
true if the shutdown should continue, false to abort.

name

String name()
Name to be provided to the user when information about this task is presented.



Copyright © 1997 - 2008 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.

Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: SourceForge_Logo