jline.internal
Class ShutdownHooks
java.lang.Object
jline.internal.ShutdownHooks
public class ShutdownHooks
- extends Object
Manages the JLine shutdown-hook thread and tasks to execute on shutdown.
- Since:
- 2.7
- Author:
- Jason Dillon
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JLINE_SHUTDOWNHOOK
public static final String JLINE_SHUTDOWNHOOK
- See Also:
- Constant Field Values
ShutdownHooks
public ShutdownHooks()
add
public static <T extends ShutdownHooks.Task> T add(T task)
remove
public static void remove(ShutdownHooks.Task task)
Copyright © 2013. All Rights Reserved.