public class TimerEntity extends JobEntity
Modifier and Type | Field and Description |
---|---|
protected String |
repeat |
static String |
TYPE |
activityId, DEFAULT_EXCLUSIVE, DEFAULT_RETRIES, deploymentId, duedate, exceptionByteArray, exceptionByteArrayId, exceptionMessage, execution, executionId, id, isExclusive, jobDefinition, jobDefinitionId, jobHandlerConfiguration, jobHandlerType, lockExpirationTime, lockOwner, MAX_EXCEPTION_MESSAGE_LENGTH, priority, processDefinitionId, processDefinitionKey, processInstanceId, retries, revision, sequenceCounter, suspensionState, tenantId
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, getDeploymentId, getDuedate, getExceptionByteArray, getExceptionByteArrayId, getExceptionMessage, getExceptionStacktrace, getExecution, getExecutionId, getId, getJobDefinition, getJobDefinitionId, getJobHandler, getJobHandlerConfiguration, getJobHandlerConfigurationRaw, getJobHandlerType, getLockExpirationTime, getLockOwner, getPriority, getProcessDefinitionId, getProcessDefinitionKey, getProcessInstanceId, getReferencedEntitiesIdAndClass, getReferencedEntityIds, getRetries, getRevision, getRevisionNext, getSequenceCounter, getSuspensionState, getTenantId, hashCode, incrementSequenceCounter, init, insert, isExclusive, isInInconsistentLockState, isSuspended, postExecute, removeFailedJobIncident, resetLock, setActivityId, setDeploymentId, setDuedate, setExceptionMessage, setExceptionStacktrace, setExclusive, setExecution, setExecutionId, setId, setJobDefinition, setJobDefinitionId, setJobHandlerConfiguration, setJobHandlerConfigurationRaw, setJobHandlerType, setLockExpirationTime, setLockOwner, setPriority, setProcessDefinitionId, setProcessDefinitionKey, setProcessInstanceId, setRetries, setRetriesFromPersistence, setRevision, setSequenceCounter, setSuspensionState, setTenantId, unlock
public 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 JobEntity
protected RepeatingFailedJobListener createRepeatingFailedJobListener(CommandExecutor commandExecutor)
public void createNewTimerJob(Date dueDate)
public Date calculateRepeat()
public String getRepeat()
public void setRepeat(String repeat)
public Object getPersistentState()
DbEntity
getPersistentState
in interface DbEntity
getPersistentState
in class JobEntity
Copyright © 2019. All rights reserved.