public class TimerEntity extends JobEntity
Modifier and Type | Field and Description |
---|---|
protected String |
repeat |
protected long |
repeatOffset |
static String |
TYPE |
activityId, createTime, DEFAULT_RETRIES, deploymentId, exceptionByteArray, exceptionByteArrayId, exceptionMessage, execution, executionId, failedActivityId, jobDefinition, jobDefinitionId, jobHandlerConfiguration, jobHandlerType, lastFailureLogId, persistedDependentEntities, priority, processDefinitionId, processDefinitionKey, retries, sequenceCounter, suspensionState, tenantId
DEFAULT_EXCLUSIVE, duedate, id, isExclusive, lockExpirationTime, lockOwner, processInstanceId, revision
Modifier | Constructor and Description |
---|---|
|
TimerEntity() |
|
TimerEntity(TimerDeclarationImpl timerDeclaration) |
protected |
TimerEntity(TimerEntity te) |
Modifier and Type | Method and Description |
---|---|
Date |
calculateRepeat() |
void |
createNewTimerJob(Date dueDate) |
protected RepeatingFailedJobListener |
createRepeatingFailedJobListener(CommandExecutor commandExecutor) |
Object |
getPersistentState()
Returns a representation of the object,
as would be stored in the database.
|
String |
getRepeat() |
long |
getRepeatOffset() |
String |
getType() |
protected void |
preExecute(CommandContext commandContext) |
void |
setRepeat(String repeat) |
void |
setRepeatOffset(long repeatOffset) |
String |
toString() |
clearFailedJobException, createFailedJobIncident, createIncidentContext, delete, delete, ensureActivityIdInitialized, ensureExceptionByteArrayInitialized, ensureExecutionInitialized, ensureJobDefinitionInitialized, equals, execute, getActivityId, getCreateTime, getDependentEntities, getDeploymentId, getExceptionByteArray, getExceptionByteArrayId, getExceptionMessage, getExceptionStacktrace, getExecution, getExecutionId, getFailedActivityId, getJobDefinition, getJobDefinitionId, getJobHandler, getJobHandlerConfiguration, getJobHandlerConfigurationRaw, getJobHandlerType, getLastFailureLogId, getPriority, getProcessDefinitionId, getProcessDefinitionKey, getReferencedEntitiesIdAndClass, getReferencedEntityIds, getRetries, getSequenceCounter, getSuspensionState, getTenantId, incrementSequenceCounter, init, insert, isInInconsistentLockState, isSuspended, postExecute, postLoad, removeFailedJobIncident, resetLock, setActivityId, setCreateTime, setDeploymentId, setExceptionMessage, setExceptionStacktrace, setExecution, setExecutionId, setFailedActivityId, setJobDefinition, setJobDefinitionId, setJobHandlerConfiguration, setJobHandlerConfigurationRaw, setJobHandlerType, setLastFailureLogId, setPriority, setProcessDefinitionId, setProcessDefinitionKey, setRetries, setRetriesFromPersistence, setSequenceCounter, setSuspensionState, setTenantId, unlock
getDuedate, getId, getLockExpirationTime, getLockOwner, getProcessInstanceId, getRevision, getRevisionNext, hashCode, isExclusive, setDuedate, setExclusive, setId, setLockExpirationTime, setLockOwner, setProcessInstanceId, setRevision
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getDuedate, getId, getProcessInstanceId
getRevision, getRevisionNext, setRevision
public static final String TYPE
protected String repeat
protected long repeatOffset
public TimerEntity()
public TimerEntity(TimerDeclarationImpl timerDeclaration)
protected TimerEntity(TimerEntity te)
protected void preExecute(CommandContext commandContext)
preExecute
in class JobEntity
protected RepeatingFailedJobListener createRepeatingFailedJobListener(CommandExecutor commandExecutor)
public void createNewTimerJob(Date dueDate)
public Date calculateRepeat()
public String getRepeat()
public void setRepeat(String repeat)
public long getRepeatOffset()
public void setRepeatOffset(long repeatOffset)
public Object getPersistentState()
DbEntity
getPersistentState
in interface DbEntity
getPersistentState
in class JobEntity
Copyright © 2022. All rights reserved.