Package org.flowable.engine.impl.util
Class TimerUtil
java.lang.Object
org.flowable.engine.impl.util.TimerUtil
- Author:
- Joram Barrez
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TimerJobEntity
createTimerEntityForTimerEventDefinition
(TimerEventDefinition timerEventDefinition, FlowElement currentFlowElement, boolean isInterruptingTimer, ExecutionEntity executionEntity, String jobHandlerType, String jobHandlerConfig) The event definition on which the timer is based.static String
prepareRepeat
(String dueDate) static TimerJobEntity
rescheduleTimerJob
(String timerJobId, TimerEventDefinition timerEventDefinition)
-
Constructor Details
-
TimerUtil
public TimerUtil()
-
-
Method Details
-
createTimerEntityForTimerEventDefinition
public static TimerJobEntity createTimerEntityForTimerEventDefinition(TimerEventDefinition timerEventDefinition, 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 theNoExecutionVariableScope
will be used (eg Timer start event) -
rescheduleTimerJob
public static TimerJobEntity rescheduleTimerJob(String timerJobId, TimerEventDefinition timerEventDefinition) -
prepareRepeat
-