Class ShutdownHook.Registrar

  • All Implemented Interfaces:
    java.lang.Runnable
    Enclosing class:
    ShutdownHook

    @Singleton
    public static class ShutdownHook.Registrar
    extends TaskSystem.Task
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void register​(net.playeranalytics.plugin.scheduling.RunnableFactory runnableFactory)  
      void run()  
      • Methods inherited from class net.playeranalytics.plugin.scheduling.PluginRunnable

        cancel
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Registrar

        @Inject
        public Registrar​(ShutdownHook shutdownHook)
    • Method Detail

      • run

        public void run()
      • register

        public void register​(net.playeranalytics.plugin.scheduling.RunnableFactory runnableFactory)
        Specified by:
        register in class TaskSystem.Task