Class TaskManager


  • public class TaskManager
    extends Object
    • Constructor Detail

      • TaskManager

        public TaskManager()
    • Method Detail

      • registerTasks

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

        public void registerTask​(com.google.inject.Injector injector,
                                 Class<? super Task> cls)
      • unregisterTask

        public void unregisterTask​(Task task,
                                   boolean unregisterChildren)
      • getLastTaskName

        public String getLastTaskName()
      • getLastTaskExecutionSequence

        public String getLastTaskExecutionSequence()
      • onStart

        public void onStart​(TaskScript script)
      • tick

        public void tick​(TickEvent tick)
      • checkShutdown

        public boolean checkShutdown​(TaskDescriptor descriptor)
      • loop

        public int loop()
      • onStop

        public void onStop()
      • setHardPaused

        public void setHardPaused​(boolean hardPaused)
      • isPaused

        public boolean isPaused()
      • setPaused

        public void setPaused​(boolean paused)