Details
Description
The SimpleTrigger implementation has a getRepeatCount() method associated with it. The CronTrigger which has wider usage in Scheduling does not have this method.
We can add the getRepeatCount() method to Cron Trigger implementation. I believe the implementation can be done by parsing the CronExpression that is passed to the CronTrigger.