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 TimerJobEntitycreateTimerEntityForTimerEventDefinition(TimerEventDefinition timerEventDefinition, FlowElement currentFlowElement, boolean isInterruptingTimer, ExecutionEntity executionEntity, String jobHandlerType, String jobHandlerConfig) The event definition on which the timer is based.static StringprepareRepeat(String dueDate) static TimerJobEntityrescheduleTimerJob(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 theNoExecutionVariableScopewill be used (eg Timer start event) -
rescheduleTimerJob
public static TimerJobEntity rescheduleTimerJob(String timerJobId, TimerEventDefinition timerEventDefinition) -
prepareRepeat
-