public class TimerDeclarationImpl extends JobDeclaration<TimerEntity>
Modifier and Type | Field and Description |
---|---|
protected Expression |
description |
protected String |
eventScopeActivityId |
protected boolean |
isInterruptingTimer |
protected Boolean |
isParallelMultiInstance |
protected String |
repeat |
protected TimerDeclarationType |
type |
activityId, exclusive, jobConfiguration, jobDefinitionId, jobHandlerConfiguration, jobHandlerType
Constructor and Description |
---|
TimerDeclarationImpl(Expression expression,
TimerDeclarationType type,
String jobHandlerType) |
Modifier and Type | Method and Description |
---|---|
TimerEntity |
createStartTimerInstance(String deploymentId) |
TimerEntity |
createTimer(ExecutionEntity execution) |
TimerEntity |
createTimer(String deploymentId) |
TimerEntity |
createTimerInstance(ExecutionEntity execution) |
String |
getEventScopeActivityId() |
String |
getRepeat() |
boolean |
isInterruptingTimer() |
protected TimerEntity |
newJobInstance(ExecutionEntity execution) |
protected String |
prepareRepeat(String dueDate) |
protected void |
scheduleTimer(TimerEntity timer) |
void |
setEventScopeActivityId(String eventScopeActivityId) |
void |
setInterruptingTimer(boolean isInterruptingTimer) |
createJobInstance, getActivityId, getJobConfiguration, getJobDefinitionId, getJobHandlerConfiguration, getJobHandlerType, isExclusive, setActivityId, setExclusive, setJobConfiguration, setJobDefinitionId, setJobHandlerConfiguration, setJobHandlerType
protected Expression description
protected TimerDeclarationType type
protected String repeat
protected boolean isInterruptingTimer
protected String eventScopeActivityId
protected Boolean isParallelMultiInstance
public TimerDeclarationImpl(Expression expression, TimerDeclarationType type, String jobHandlerType)
public boolean isInterruptingTimer()
public void setInterruptingTimer(boolean isInterruptingTimer)
public String getRepeat()
public void setEventScopeActivityId(String eventScopeActivityId)
public String getEventScopeActivityId()
protected TimerEntity newJobInstance(ExecutionEntity execution)
newJobInstance
in class JobDeclaration<TimerEntity>
public TimerEntity createTimerInstance(ExecutionEntity execution)
public TimerEntity createStartTimerInstance(String deploymentId)
public TimerEntity createTimer(String deploymentId)
public TimerEntity createTimer(ExecutionEntity execution)
protected void scheduleTimer(TimerEntity timer)
Copyright © 2018. All rights reserved.