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, retries
Constructor and Description |
---|
TimerDeclarationImpl(Expression expression,
TimerDeclarationType type,
String jobHandlerType) |
Modifier and Type | Method and Description |
---|---|
TimerEntity |
createTimer(ExecutionEntity execution) |
TimerEntity |
createTimerInstance(ExecutionEntity execution) |
TimerEntity |
createTimerInstanceForParallelMultiInstance(ExecutionEntity execution) |
String |
getEventScopeActivityId() |
String |
getRepeat() |
boolean |
isInterruptingTimer() |
protected TimerEntity |
newJobInstance(ExecutionEntity execution) |
protected String |
prepareRepeat(String dueDate) |
void |
setEventScopeActivityId(String eventScopeActivityId) |
void |
setInterruptingTimer(boolean isInterruptingTimer) |
createJobInstance, getActivityId, getJobConfiguration, getJobDefinitionId, getJobHandlerConfiguration, getJobHandlerType, getRetries, isExclusive, setActivityId, setExclusive, setJobConfiguration, setJobDefinitionId, setJobHandlerConfiguration, setJobHandlerType, setRetries
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 createTimerInstanceForParallelMultiInstance(ExecutionEntity execution)
public TimerEntity createTimer(ExecutionEntity execution)
Copyright © 2015. All rights reserved.