Package org.flowable.engine.impl.util
Class TimerUtil
- java.lang.Object
-
- org.flowable.engine.impl.util.TimerUtil
-
public class TimerUtil extends Object
- Author:
- Joram Barrez
-
-
Constructor Summary
Constructors Constructor Description TimerUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TimerJobEntitycreateTimerEntityForTimerEventDefinition(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.static StringprepareRepeat(String dueDate)static TimerJobEntityrescheduleTimerJob(String timerJobId, org.flowable.bpmn.model.TimerEventDefinition timerEventDefinition)
-
-
-
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 theNoExecutionVariableScopewill be used (eg Timer start event)
-
rescheduleTimerJob
public static TimerJobEntity rescheduleTimerJob(String timerJobId, org.flowable.bpmn.model.TimerEventDefinition timerEventDefinition)
-
-