java.lang.Object
com.wellnessapp.model.notice.NoticeManager
- All Implemented Interfaces:
INoticeManager
Manager responsible for simplifying logic to schedule notifications (notices)
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
scheduleNotice
(LocalDateTime dateTime, NoticeBO notice) Schedules a notice to be executed at the specified date and time.
-
Constructor Details
-
NoticeManager
public NoticeManager()Constructs a new NoticeManager with a timer.
-
-
Method Details
-
scheduleNotice
Schedules a notice to be executed at the specified date and time.- Specified by:
scheduleNotice
in interfaceINoticeManager
- Parameters:
dateTime
- the date and time when the notice should be schedulednotice
- the notice to be scheduled
-