Interface SchedulerService

    • Method Detail

      • registerSchedule

        void registerSchedule​(Schedule schedule)
        Registers a schedule.
        Parameters:
        schedule - the schedule
      • unregisterSchedule

        boolean unregisterSchedule​(String scheduleId)
        UnRegisters a schedule.
        Parameters:
        scheduleId - the schedule id
        Returns:
        true if schedule has been successfully removed.
      • unregisterSchedule

        boolean unregisterSchedule​(Schedule schedule)
        UnRegisters a schedule.
        Parameters:
        schedule - to be unregistered
        Returns:
        true if schedule has been successfully removed.
      • hasApplicationStarted

        boolean hasApplicationStarted()
        Checks if the framework has fully started.

        Used to delay job execution until the framework has fully started.

        Returns:
        true if the framework has started
        Since:
        5.6