Class TimerJobEntityImpl
- java.lang.Object
-
- org.flowable.common.engine.impl.persistence.entity.AbstractEntity
-
- org.flowable.job.service.impl.persistence.entity.AbstractJobServiceEntity
-
- org.flowable.job.service.impl.persistence.entity.AbstractJobEntityImpl
-
- org.flowable.job.service.impl.persistence.entity.TimerJobEntityImpl
-
- All Implemented Interfaces:
Serializable,HasRevision,Entity,Job,JobInfo,AbstractJobEntity,AbstractRuntimeJobEntity,JobInfoEntity,TimerJobEntity
public class TimerJobEntityImpl extends AbstractJobEntityImpl implements TimerJobEntity
TimerJob entity, necessary for persistence.- Author:
- Tijs Rademakers
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected DatelockExpirationTimeprotected StringlockOwner-
Fields inherited from class org.flowable.job.service.impl.persistence.entity.AbstractJobEntityImpl
category, correlationId, createTime, customValuesByteArrayRef, duedate, elementId, elementName, endDate, exceptionByteArrayRef, exceptionMessage, executionId, isExclusive, jobHandlerConfiguration, jobHandlerType, jobType, maxIterations, processDefinitionId, processInstanceId, repeat, retries, scopeDefinitionId, scopeId, scopeType, subScopeId, tenantId
-
Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
id, isDeleted, isInserted, isUpdated, originalPersistentState, revision
-
Fields inherited from interface org.flowable.job.api.Job
DEFAULT_EXCLUSIVE, JOB_TYPE_EXTERNAL_WORKER, JOB_TYPE_MESSAGE, JOB_TYPE_TIMER
-
Fields inherited from interface org.flowable.job.api.JobInfo
MAX_EXCEPTION_MESSAGE_LENGTH
-
-
Constructor Summary
Constructors Constructor Description TimerJobEntityImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DategetLockExpirationTime()StringgetLockOwner()ObjectgetPersistentState()voidsetLockExpirationTime(Date claimedUntil)voidsetLockOwner(String claimedBy)StringtoString()-
Methods inherited from class org.flowable.job.service.impl.persistence.entity.AbstractJobEntityImpl
getCategory, getCorrelationId, getCreateTime, getCustomValues, getCustomValuesByteArrayRef, getDuedate, getElementId, getElementName, getEndDate, getEngineType, getExceptionByteArrayRef, getExceptionMessage, getExceptionStacktrace, getExecutionId, getJobHandlerConfiguration, getJobHandlerType, getJobType, getMaxIterations, getProcessDefinitionId, getProcessInstanceId, getRepeat, getRetries, getScopeDefinitionId, getScopeId, getScopeType, getSubScopeId, getTenantId, isExclusive, setCategory, setCorrelationId, setCreateTime, setCustomValues, setCustomValuesByteArrayRef, setDuedate, setElementId, setElementName, setEndDate, setExceptionByteArrayRef, setExceptionMessage, setExceptionStacktrace, setExclusive, setExecutionId, setJobHandlerConfiguration, setJobHandlerType, setJobType, setMaxIterations, setProcessDefinitionId, setProcessInstanceId, setRepeat, setRetries, setScopeDefinitionId, setScopeId, setScopeType, setSubScopeId, setTenantId
-
Methods inherited from class org.flowable.job.service.impl.persistence.entity.AbstractJobServiceEntity
getIdPrefix
-
Methods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
getId, getOriginalPersistentState, getRevision, getRevisionNext, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setRevision, setUpdated
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.flowable.job.service.impl.persistence.entity.AbstractJobEntity
getCreateTime, getCustomValues, getCustomValuesByteArrayRef, getExceptionByteArrayRef, getExceptionMessage, getExceptionStacktrace, getJobHandlerConfiguration, getJobHandlerType, getRetries, getTenantId, setCustomValues, setCustomValuesByteArrayRef, setExceptionByteArrayRef, setExceptionMessage, setExceptionStacktrace, setJobHandlerConfiguration, setJobHandlerType, setRetries, setTenantId
-
Methods inherited from interface org.flowable.job.service.impl.persistence.entity.AbstractRuntimeJobEntity
getEndDate, getMaxIterations, getRepeat, setCategory, setCorrelationId, setCreateTime, setDuedate, setElementId, setElementName, setEndDate, setExclusive, setExecutionId, setJobType, setMaxIterations, setProcessDefinitionId, setProcessInstanceId, setRepeat, setScopeDefinitionId, setScopeId, setSubScopeId
-
Methods inherited from interface org.flowable.common.engine.impl.persistence.entity.Entity
getId, getIdPrefix, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdated
-
Methods inherited from interface org.flowable.common.engine.impl.db.HasRevision
getRevision, getRevisionNext, setRevision
-
Methods inherited from interface org.flowable.job.api.Job
getCategory, getCorrelationId, getCreateTime, getDuedate, getElementId, getElementName, getExecutionId, getJobType, getProcessDefinitionId, getProcessInstanceId, getScopeDefinitionId, getScopeId, getScopeType, getSubScopeId, isExclusive
-
Methods inherited from interface org.flowable.job.api.JobInfo
getCustomValues, getExceptionMessage, getId, getJobHandlerConfiguration, getJobHandlerType, getRetries, getTenantId
-
Methods inherited from interface org.flowable.job.service.impl.persistence.entity.JobInfoEntity
getScopeType, setScopeType
-
-
-
-
Method Detail
-
getPersistentState
public Object getPersistentState()
- Specified by:
getPersistentStatein interfaceEntity- Overrides:
getPersistentStatein classAbstractJobEntityImpl
-
getLockOwner
public String getLockOwner()
- Specified by:
getLockOwnerin interfaceJobInfoEntity
-
setLockOwner
public void setLockOwner(String claimedBy)
- Specified by:
setLockOwnerin interfaceJobInfoEntity
-
getLockExpirationTime
public Date getLockExpirationTime()
- Specified by:
getLockExpirationTimein interfaceJobInfoEntity
-
setLockExpirationTime
public void setLockExpirationTime(Date claimedUntil)
- Specified by:
setLockExpirationTimein interfaceJobInfoEntity
-
toString
public String toString()
- Overrides:
toStringin classAbstractJobEntityImpl
-
-