public class TimerDeclarationImpl extends JobDeclaration<ExecutionEntity,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 |
activity, exclusive, jobConfiguration, jobDefinitionId, jobHandlerConfiguration, jobHandlerType, jobPriorityProvider
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 void |
postInitialize(ExecutionEntity context,
TimerEntity job)
general callback to override any configuration after the defaults have been applied
|
protected String |
prepareRepeat(String dueDate) |
protected ExecutionEntity |
resolveExecution(ExecutionEntity context) |
protected void |
scheduleTimer(TimerEntity timer) |
void |
setEventScopeActivityId(String eventScopeActivityId) |
void |
setInterruptingTimer(boolean isInterruptingTimer) |
createJobInstance, getActivity, getActivityId, getJobConfiguration, getJobDefinitionId, getJobHandlerConfiguration, getJobHandlerType, getJobPriorityProvider, getProcessDefinition, isExclusive, resolveDueDate, resolveExclusive, resolveJobDefinitionId, resolveJobHandlerConfiguration, resolveJobHandlerType, resolveRetries, setActivity, setExclusive, setJobConfiguration, setJobDefinitionId, setJobHandlerConfiguration, setJobHandlerType, setJobPriorityProvider
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<ExecutionEntity,TimerEntity>
protected void postInitialize(ExecutionEntity context, TimerEntity job)
JobDeclaration
postInitialize
in class JobDeclaration<ExecutionEntity,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)
protected ExecutionEntity resolveExecution(ExecutionEntity context)
resolveExecution
in class JobDeclaration<ExecutionEntity,TimerEntity>
Copyright © 2018. All rights reserved.