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 |
rawJobHandlerConfiguration |
protected String |
repeat |
protected TimerDeclarationType |
type |
activity, exclusive, jobConfiguration, jobDefinitionId, jobHandlerConfiguration, jobHandlerType, jobPriorityProvider
Constructor and Description |
---|
TimerDeclarationImpl(Expression expression,
TimerDeclarationType type,
String jobHandlerType) |
createJobInstance, getActivity, getActivityId, getJobConfiguration, getJobDefinitionId, getJobHandlerType, getJobPriorityProvider, getProcessDefinition, isExclusive, reconfigure, resolveDueDate, resolveExclusive, resolveJobDefinitionId, resolveJobHandler, resolveJobHandlerType, resolveRetries, setActivity, setExclusive, setJobConfiguration, setJobDefinitionId, setJobPriorityProvider
protected Expression description
protected TimerDeclarationType type
protected String repeat
protected boolean isInterruptingTimer
protected String eventScopeActivityId
protected Boolean isParallelMultiInstance
protected String rawJobHandlerConfiguration
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>
public void setRawJobHandlerConfiguration(String rawJobHandlerConfiguration)
public void updateJob(TimerEntity timer)
protected void initializeConfiguration(ExecutionEntity context, TimerEntity job)
protected void postInitialize(ExecutionEntity execution, TimerEntity timer)
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)
JobDeclaration
resolveExecution
in class JobDeclaration<ExecutionEntity,TimerEntity>
protected JobHandlerConfiguration resolveJobHandlerConfiguration(ExecutionEntity context)
resolveJobHandlerConfiguration
in class JobDeclaration<ExecutionEntity,TimerEntity>
public static Map<String,TimerDeclarationImpl> getDeclarationsForScope(PvmScope scope)
Copyright © 2019. All rights reserved.