Class TimerEntity
- java.lang.Object
- 
- org.camunda.bpm.engine.impl.persistence.entity.AcquirableJobEntity
- 
- org.camunda.bpm.engine.impl.persistence.entity.JobEntity
- 
- org.camunda.bpm.engine.impl.persistence.entity.TimerEntity
 
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- DbEntity,- DbEntityLifecycleAware,- HasDbReferences,- HasDbRevision,- Job
 
 public class TimerEntity extends JobEntity - Author:
- Tom Baeyens
- See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.lang.Stringrepeatprotected longrepeatOffsetstatic java.lang.StringTYPE- 
Fields inherited from class org.camunda.bpm.engine.impl.persistence.entity.JobEntityactivityId, createTime, DEFAULT_RETRIES, deploymentId, exceptionByteArray, exceptionByteArrayId, exceptionMessage, execution, executionId, failedActivityId, jobDefinition, jobDefinitionId, jobHandlerConfiguration, jobHandlerType, lastFailureLogId, persistedDependentEntities, priority, processDefinitionId, processDefinitionKey, retries, sequenceCounter, suspensionState, tenantId
 - 
Fields inherited from class org.camunda.bpm.engine.impl.persistence.entity.AcquirableJobEntityDEFAULT_EXCLUSIVE, duedate, id, isExclusive, lockExpirationTime, lockOwner, processInstanceId, revision
 
- 
 - 
Constructor SummaryConstructors Modifier Constructor Description TimerEntity()TimerEntity(TimerDeclarationImpl timerDeclaration)protectedTimerEntity(TimerEntity te)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.DatecalculateRepeat()voidcreateNewTimerJob(java.util.Date dueDate)protected RepeatingFailedJobListenercreateRepeatingFailedJobListener(CommandExecutor commandExecutor)java.lang.ObjectgetPersistentState()Returns a representation of the object, as would be stored in the database.java.lang.StringgetRepeat()longgetRepeatOffset()java.lang.StringgetType()protected voidpreExecute(CommandContext commandContext)voidsetRepeat(java.lang.String repeat)voidsetRepeatOffset(long repeatOffset)java.lang.StringtoString()- 
Methods inherited from class org.camunda.bpm.engine.impl.persistence.entity.JobEntityclearFailedJobException, 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
 - 
Methods inherited from class org.camunda.bpm.engine.impl.persistence.entity.AcquirableJobEntitygetDuedate, getId, getLockExpirationTime, getLockOwner, getProcessInstanceId, getRevision, getRevisionNext, hashCode, isExclusive, setDuedate, setExclusive, setId, setLockExpirationTime, setLockOwner, setProcessInstanceId, setRevision
 - 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface org.camunda.bpm.engine.impl.db.HasDbRevisiongetRevision, getRevisionNext, setRevision
 - 
Methods inherited from interface org.camunda.bpm.engine.runtime.JobgetDuedate, getId, getProcessInstanceId
 
- 
 
- 
- 
- 
Field Detail- 
TYPEpublic static final java.lang.String TYPE - See Also:
- Constant Field Values
 
 - 
repeatprotected java.lang.String repeat 
 - 
repeatOffsetprotected long repeatOffset 
 
- 
 - 
Constructor Detail- 
TimerEntitypublic TimerEntity() 
 - 
TimerEntitypublic TimerEntity(TimerDeclarationImpl timerDeclaration) 
 - 
TimerEntityprotected TimerEntity(TimerEntity te) 
 
- 
 - 
Method Detail- 
preExecuteprotected void preExecute(CommandContext commandContext) - Overrides:
- preExecutein class- JobEntity
 
 - 
createRepeatingFailedJobListenerprotected RepeatingFailedJobListener createRepeatingFailedJobListener(CommandExecutor commandExecutor) 
 - 
createNewTimerJobpublic void createNewTimerJob(java.util.Date dueDate) 
 - 
calculateRepeatpublic java.util.Date calculateRepeat() 
 - 
getRepeatpublic java.lang.String getRepeat() 
 - 
setRepeatpublic void setRepeat(java.lang.String repeat) 
 - 
getRepeatOffsetpublic long getRepeatOffset() 
 - 
setRepeatOffsetpublic void setRepeatOffset(long repeatOffset) 
 - 
getPersistentStatepublic java.lang.Object getPersistentState() Description copied from interface:DbEntityReturns a representation of the object, as would be stored in the database. Used when deciding if updates have occurred to the object or not since it was last loaded.- Specified by:
- getPersistentStatein interface- DbEntity
- Overrides:
- getPersistentStatein class- JobEntity
 
 
- 
 
-