Package org.aesh.terminal.tty.utils
Interface ShutdownHooks.Task
- Enclosing class:
ShutdownHooks
public static interface ShutdownHooks.Task
A task that can be executed on shutdown.
Similar to
Runnable but allows throwing checked exceptions.-
Method Summary
-
Method Details
-
run
Run the task.- Throws:
Exception- if an error occurs
-