public class TimerEntity extends JobEntity
| Modifier and Type | Field and Description |
|---|---|
protected String |
repeat |
static String |
TYPE |
activityId, createTime, DEFAULT_RETRIES, deploymentId, exceptionByteArray, exceptionByteArrayId, exceptionMessage, execution, executionId, jobDefinition, jobDefinitionId, jobHandlerConfiguration, jobHandlerType, MAX_EXCEPTION_MESSAGE_LENGTH, 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() |
String |
getType() |
protected void |
preExecute(CommandContext commandContext) |
void |
setRepeat(String repeat) |
String |
toString() |
createFailedJobIncident, createIncidentContext, delete, delete, ensureActivityIdInitialized, ensureExceptionByteArrayInitialized, ensureExecutionInitialized, ensureJobDefinitionInitialized, equals, execute, getActivityId, getCreateTime, getDeploymentId, getExceptionByteArray, getExceptionByteArrayId, getExceptionMessage, getExceptionStacktrace, getExecution, getExecutionId, getJobDefinition, getJobDefinitionId, getJobHandler, getJobHandlerConfiguration, getJobHandlerConfigurationRaw, getJobHandlerType, getPriority, getProcessDefinitionId, getProcessDefinitionKey, getReferencedEntitiesIdAndClass, getReferencedEntityIds, getRetries, getSequenceCounter, getSuspensionState, getTenantId, incrementSequenceCounter, init, insert, isInInconsistentLockState, isSuspended, postExecute, removeFailedJobIncident, resetLock, setActivityId, setCreateTime, setDeploymentId, setExceptionMessage, setExceptionStacktrace, setExecution, setExecutionId, setJobDefinition, setJobDefinitionId, setJobHandlerConfiguration, setJobHandlerConfigurationRaw, setJobHandlerType, 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
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 Object getPersistentState()
DbEntitygetPersistentState in interface DbEntitygetPersistentState in class JobEntityCopyright © 2020. All rights reserved.