Interface ScheduleManager
- 
- All Superinterfaces:
- ExtensionPointManager
 
 public interface ScheduleManager extends ExtensionPointManager 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddHoliday(HolidayModel newHoliday, UICallback ui)voidaddSchedule(AbstractScheduleModel model, UICallback ui)booleancheckSchedule(java.lang.String schedule, long date)Checks to see if the schedule named is active or not at the given time.booleancheckSchedule(java.lang.String schedule, java.util.Date date)Checks to see if the schedule named is active or not at the given time.voideditHoliday(java.lang.String originalName, HolidayModel holiday, UICallback ui)voideditSchedule(java.lang.String originalName, AbstractScheduleModel model, UICallback ui)HolidayModelgetHoliday(java.lang.String holidayName)java.util.List<HolidayModel>getHolidays()AbstractScheduleModelgetScheduleModel(java.lang.String schedule)Returns the model of the named schedulejava.util.List<java.lang.String>getSchedules()Return a list of all defined schedulesbooleanisScheduleDefined(java.lang.String schedule)Checks to see if there is a schedule with the given name.voidremoveHoliday(java.lang.String holidayName, UICallback ui)voidremoveSchedule(java.lang.String name, UICallback ui)- 
Methods inherited from interface com.inductiveautomation.ignition.gateway.model.ExtensionPointManagergetExtensionPoint, getExtensionPoints
 
- 
 
- 
- 
- 
Method Detail- 
checkScheduleboolean checkSchedule(java.lang.String schedule, java.util.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.
 - 
checkScheduleboolean checkSchedule(@Nullable java.lang.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.
 - 
isScheduleDefinedboolean isScheduleDefined(java.lang.String schedule) Checks to see if there is a schedule with the given name. Names are case insensitive.
 - 
getSchedulesjava.util.List<java.lang.String> getSchedules() Return a list of all defined schedules
 - 
getScheduleModelAbstractScheduleModel getScheduleModel(java.lang.String schedule) Returns the model of the named schedule
 - 
removeSchedulevoid removeSchedule(java.lang.String name, UICallback ui)
 - 
addSchedulevoid addSchedule(AbstractScheduleModel model, UICallback ui) 
 - 
editSchedulevoid editSchedule(java.lang.String originalName, AbstractScheduleModel model, UICallback ui)
 - 
getHolidays@Nonnull java.util.List<HolidayModel> getHolidays() 
 - 
getHoliday@Nullable HolidayModel getHoliday(java.lang.String holidayName) 
 - 
removeHolidayvoid removeHoliday(java.lang.String holidayName, UICallback ui)
 - 
addHolidayvoid addHoliday(HolidayModel newHoliday, UICallback ui) 
 - 
editHolidayvoid editHoliday(java.lang.String originalName, HolidayModel holiday, UICallback ui)
 
- 
 
-