-
- All Implemented Interfaces:
public class SchedulerHandler
SchedulerHandler for easy scheduling of tasks!
-
-
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. -
-
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.
-
-
-
-