Interface SchedulerMethod

All Known Implementing Classes:
RepeatingTaskMethod, ScheduledAtMethod

public interface SchedulerMethod
Represents a method that can be scheduled.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Schedules this method to be executed by the plugin.
  • Method Details

    • schedule

      int schedule(WinterPlugin plugin)
      Schedules this method to be executed by the plugin.
      Parameters:
      plugin - Plugin to schedule this method for
      Returns:
      The created schedule