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, jobDefinition, jobDefinitionId, jobHandlerConfiguration, jobHandlerType, lastFailureLogId, persistedDependentEntities, priority, processDefinitionId, processDefinitionKey, retries, sequenceCounter, suspensionState, tenantIdDEFAULT_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, 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, setJobDefinition, setJobDefinitionId, setJobHandlerConfiguration, setJobHandlerConfigurationRaw, setJobHandlerType, setLastFailureLogId, setPriority, setProcessDefinitionId, setProcessDefinitionKey, setRetries, setRetriesFromPersistence, setSequenceCounter, setSuspensionState, setTenantId, unlockgetDuedate, getId, getLockExpirationTime, getLockOwner, getProcessInstanceId, getRevision, getRevisionNext, hashCode, isExclusive, setDuedate, setExclusive, setId, setLockExpirationTime, setLockOwner, setProcessInstanceId, setRevisionclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetDuedate, getId, getProcessInstanceIdgetRevision, getRevisionNext, setRevisionpublic 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 JobEntityprotected 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()
DbEntitygetPersistentState in interface DbEntitygetPersistentState in class JobEntityCopyright © 2021. All rights reserved.