jmri.implementation
Class QuietShutDownTask
java.lang.Object
jmri.implementation.AbstractShutDownTask
jmri.implementation.QuietShutDownTask
- All Implemented Interfaces:
- ShutDownTask
public class QuietShutDownTask
- extends AbstractShutDownTask
Provides a base to perform a shutdown task without user-intervention.
- Author:
- Matthew Harris Copyright (c) 2008
|
Method Summary |
protected boolean |
doAction()
Provide a subclass-specific method to handle the
request to fix the problem. |
boolean |
execute()
Take the necessary action. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QuietShutDownTask
public QuietShutDownTask(String name)
- Constructor specifies the shutdown task name
execute
public boolean execute()
- Take the necessary action.
- Returns:
- true if the shutdown should continue, false
to abort.
doAction
protected boolean doAction()
- Provide a subclass-specific method to handle the
request to fix the problem. This is a dummy implementation,
intended to be overloaded.
- Returns:
- true if ready to shutdown, false to end shutdown
Copyright © 1997 - 2011 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: