Interface Trigger

    • Method Detail

      • nextExecutionTime

        @Nullable
        Date nextExecutionTime​(TriggerContext triggerContext)
        Determine the next execution time according to the given trigger context.
        Parameters:
        triggerContext - context object encapsulating last execution times and last completion time
        Returns:
        the next execution time as defined by the trigger, or null if the trigger won't fire anymore