Class TimerUtil


  • public class TimerUtil
    extends Object
    Author:
    Joram Barrez
    • Constructor Detail

      • TimerUtil

        public TimerUtil()
    • Method Detail

      • createTimerEntityForTimerEventDefinition

        public static TimerJobEntity createTimerEntityForTimerEventDefinition​(org.flowable.bpmn.model.TimerEventDefinition timerEventDefinition,
                                                                              org.flowable.bpmn.model.FlowElement currentFlowElement,
                                                                              boolean isInterruptingTimer,
                                                                              ExecutionEntity executionEntity,
                                                                              String jobHandlerType,
                                                                              String jobHandlerConfig)
        The event definition on which the timer is based. Takes in an optional execution, if missing the NoExecutionVariableScope will be used (eg Timer start event)
      • rescheduleTimerJob

        public static TimerJobEntity rescheduleTimerJob​(String timerJobId,
                                                        org.flowable.bpmn.model.TimerEventDefinition timerEventDefinition)
      • prepareRepeat

        public static String prepareRepeat​(String dueDate)