The Watcher class will use the SchedulerExecutorService to call a Reminder's notify method on its specific time interval. (see #3) It will do setup this repeated call in a method called schedule(reminderObject).
Relevant docs for SchedulerExecutorService: https://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ScheduledExecutorService.html
The Watcher class will also feature a stop(reminder) method, but that will be subject to change depending on how the Reminder object evolves to send notifications to the main driver class.
The Watcher class will use the SchedulerExecutorService to call a Reminder's notify method on its specific time interval. (see #3) It will do setup this repeated call in a method called
schedule(reminderObject).Relevant docs for SchedulerExecutorService: https://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ScheduledExecutorService.html
The Watcher class will also feature a
stop(reminder)method, but that will be subject to change depending on how the Reminder object evolves to send notifications to the main driver class.