public class TimerEventListenerActivityBehaviour extends CoreCmmnActivityBehavior implements PlanItemActivityBehavior
CmmnActivityBehavior implementation for the CMMN Timer Event Listener.| Modifier and Type | Field and Description |
|---|---|
protected String |
startTriggerSourceRef |
protected String |
startTriggerStandardEvent |
protected String |
timerExpression |
| Constructor and Description |
|---|
TimerEventListenerActivityBehaviour(org.flowable.cmmn.model.TimerEventListener timerEventListener) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(CommandContext commandContext,
PlanItemInstanceEntity planItemInstanceEntity) |
protected boolean |
isDurationString(String timerString) |
protected boolean |
isRepetitionString(String timerString) |
void |
onStateTransition(CommandContext commandContext,
DelegatePlanItemInstance planItemInstance,
String transition) |
String |
prepareRepeat(String dueDate,
Clock clock) |
protected Object |
resolveTimerExpression(CommandContext commandContext,
PlanItemInstanceEntity planItemInstanceEntity) |
protected void |
scheduleTimerJob(CommandContext commandContext,
PlanItemInstanceEntity planItemInstanceEntity,
Object timerValue,
Date timerDueDate,
boolean isRepeating) |
void |
trigger(DelegatePlanItemInstance planItemInstance) |
executeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteprotected String timerExpression
protected String startTriggerSourceRef
protected String startTriggerStandardEvent
public TimerEventListenerActivityBehaviour(org.flowable.cmmn.model.TimerEventListener timerEventListener)
public void onStateTransition(CommandContext commandContext, DelegatePlanItemInstance planItemInstance, String transition)
onStateTransition in interface PlanItemActivityBehaviorprotected void scheduleTimerJob(CommandContext commandContext, PlanItemInstanceEntity planItemInstanceEntity, Object timerValue, Date timerDueDate, boolean isRepeating)
public void execute(CommandContext commandContext, PlanItemInstanceEntity planItemInstanceEntity)
execute in class CoreCmmnActivityBehaviorprotected Object resolveTimerExpression(CommandContext commandContext, PlanItemInstanceEntity planItemInstanceEntity)
protected boolean isRepetitionString(String timerString)
protected boolean isDurationString(String timerString)
public void trigger(DelegatePlanItemInstance planItemInstance)
trigger in interface CmmnTriggerableActivityBehaviorCopyright © 2018 Flowable. All rights reserved.