接口 Trigger

    • 方法详细资料

      • nextExecutionTime

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