Interface SchedulerMethod
- All Known Implementing Classes:
RepeatingTaskMethod,ScheduledAtMethod
public interface SchedulerMethod
Represents a method that can be scheduled.
-
Method Summary
Modifier and TypeMethodDescriptionintschedule(WinterPlugin plugin) Schedules this method to be executed by the plugin.
-
Method Details
-
schedule
Schedules this method to be executed by the plugin.- Parameters:
plugin- Plugin to schedule this method for- Returns:
- The created schedule
-