-
- All Implemented Interfaces:
public class SchedulerHandlerSchedulerHandler for easy scheduling of tasks!
-
-
Method Summary
Modifier and Type Method Description static voidenable()Enable the SchedulerHandler. static longregisterTask(SchedulerConfiguration configuration)Register your SchedulerConfiguration and enable it for automatic scheduling. static voidremoveConfiguration(long id)Remove a SchedulerConfiguration so it wont run again. -
-
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.
-
-
-
-