Interface ScheduleManager
- All Superinterfaces:
ExtensionPointManager<ScheduleExtensionPoint<?>>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidaddHoliday(HolidayModel newHoliday, UICallback ui) voidaddSchedule(AbstractScheduleModel model, UICallback ui) booleancheckSchedule(@Nullable String schedule, long date) Checks to see if the schedule named is active or not at the given time.booleancheckSchedule(String schedule, Date date) Checks to see if the schedule named is active or not at the given time.voideditHoliday(String originalName, HolidayModel holiday, UICallback ui) voideditSchedule(String originalName, AbstractScheduleModel model, UICallback ui) default ResourceType@Nullable HolidayModelgetHoliday(String holidayName) @NonNull List<HolidayModel>getScheduleModel(String schedule) Returns the model of the named scheduleReturn a list of all defined schedulesbooleanisScheduleDefined(String schedule) Checks to see if there is a schedule with the given name.voidremoveHoliday(String holidayName, UICallback ui) voidremoveSchedule(String name, UICallback ui) Methods inherited from interface com.inductiveautomation.ignition.gateway.config.ExtensionPointManager
getExtensionPointCollection
-
Field Details
-
SCHEDULE_RESOURCE_TYPE
-
HOLIDAY_RESOURCE_TYPE
-
-
Method Details
-
getExtensionPointResourceType
- Specified by:
getExtensionPointResourceTypein interfaceExtensionPointManager<ScheduleExtensionPoint<?>>
-
checkSchedule
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
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
Checks to see if there is a schedule with the given name. Names are case insensitive. -
getSchedules
Return a list of all defined schedules -
getScheduleModel
Returns the model of the named schedule -
removeSchedule
-
addSchedule
-
editSchedule
-
getHolidays
@NonNull List<HolidayModel> getHolidays() -
getHoliday
-
removeHoliday
-
addHoliday
-
editHoliday
-