Package 

Class SchedulerHandler

  • All Implemented Interfaces:

    
    public class SchedulerHandler
    
                        

    SchedulerHandler for easy scheduling of tasks!

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      static void enable() Enable the SchedulerHandler.
      static long registerTask(SchedulerConfiguration configuration) Register your SchedulerConfiguration and enable it for automatic scheduling.
      static void removeConfiguration(long id) Remove a SchedulerConfiguration so it wont run again.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • enable

         static void enable()

        Enable the SchedulerHandler.

      • registerTask

         static long registerTask(SchedulerConfiguration configuration)

        Register your SchedulerConfiguration and enable it for automatic scheduling.

        Parameters:
        configuration - Your SchedulerConfiguration to register
      • removeConfiguration

         static void removeConfiguration(long id)

        Remove a SchedulerConfiguration so it wont run again.

        Parameters:
        id - The id of the ScheduleConfiguration to remove.