Class ModuleAssignmentNotificationScheduler


  • @Component
    public class ModuleAssignmentNotificationScheduler
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void schedule​(java.util.Set<java.lang.String> subscribers, java.util.Date time)
      Schedule a task that notifies IVR subscribers when a module is available.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ModuleAssignmentNotificationScheduler

        @Autowired
        public ModuleAssignmentNotificationScheduler​(IvrService ivrService,
                                                     org.springframework.scheduling.TaskScheduler taskScheduler)
    • Method Detail

      • schedule

        public void schedule​(java.util.Set<java.lang.String> subscribers,
                             java.util.Date time)
        Schedule a task that notifies IVR subscribers when a module is available.
        Parameters:
        subscribers - a list of IVR subscribers to send the notification to
        time - when to fire the task