Class ShutdownHooks


  • public class ShutdownHooks
    extends java.lang.Object
    Manages the JLine shutdown-hook thread and tasks to execute on shutdown.
    Since:
    2.7
    Author:
    Jason Dillon
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static interface  ShutdownHooks.Task
      Essentially a Runnable which allows running to throw an exception.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String JLINE_SHUTDOWNHOOK  
    • Constructor Summary

      Constructors 
      Constructor Description
      ShutdownHooks()  
    • Field Detail

      • JLINE_SHUTDOWNHOOK

        public static final java.lang.String JLINE_SHUTDOWNHOOK
        See Also:
        Constant Field Values
    • Constructor Detail

      • ShutdownHooks

        public ShutdownHooks()