All Superinterfaces:
ExtensionPointManager

public interface ScheduleManager extends ExtensionPointManager
  • Method Details

    • checkSchedule

      boolean checkSchedule(String schedule, Date date)
      Checks to see if the schedule named is active or not at the given time. If the schedule doesn't exist, false will be returned.
    • checkSchedule

      boolean checkSchedule(@Nullable String schedule, long date)
      Checks to see if the schedule named is active or not at the given time. If the schedule doesn't exist, false will be returned.
    • isScheduleDefined

      boolean isScheduleDefined(String schedule)
      Checks to see if there is a schedule with the given name. Names are case insensitive.
    • getSchedules

      List<String> getSchedules()
      Return a list of all defined schedules
    • getScheduleModel

      AbstractScheduleModel getScheduleModel(String schedule)
      Returns the model of the named schedule
    • removeSchedule

      void removeSchedule(String name, UICallback ui)
    • addSchedule

      void addSchedule(AbstractScheduleModel model, UICallback ui)
    • editSchedule

      void editSchedule(String originalName, AbstractScheduleModel model, UICallback ui)
    • getHolidays

      @Nonnull List<HolidayModel> getHolidays()
    • getHoliday

      @Nullable HolidayModel getHoliday(String holidayName)
    • removeHoliday

      void removeHoliday(String holidayName, UICallback ui)
    • addHoliday

      void addHoliday(HolidayModel newHoliday, UICallback ui)
    • editHoliday

      void editHoliday(String originalName, HolidayModel holiday, UICallback ui)