Skip to content

Build Basic Watcher Class #4

@FosterSamuel

Description

@FosterSamuel

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions