Class TaskManager


  • public class TaskManager
    extends java.lang.Object
    • Constructor Detail

      • TaskManager

        public TaskManager()
    • Method Detail

      • registerTasks

        public void registerTasks​(com.google.inject.Injector injector,
                                  java.lang.Class<?>[] tasks)
      • registerTask

        public void registerTask​(com.google.inject.Injector injector,
                                 java.lang.Class<? super Task> task)
      • getLastTaskName

        public java.lang.String getLastTaskName()
      • onStart

        public void onStart​(TaskScript script)
      • loop

        public void loop​(TickEvent tick)
      • checkShutdown

        public boolean checkShutdown​(TaskDescriptor descriptor)
      • loop

        public int loop()
      • onStop

        public void onStop()
      • setHardPaused

        public void setHardPaused​(boolean hardPaused)