Class JobEntityImpl
- java.lang.Object
-
- org.activiti.engine.impl.persistence.entity.AbstractEntity
-
- org.activiti.engine.impl.persistence.entity.AbstractJobEntityImpl
-
- org.activiti.engine.impl.persistence.entity.JobEntityImpl
-
- All Implemented Interfaces:
java.io.Serializable,BulkDeleteable,HasRevision,AbstractJobEntity,Entity,JobEntity,Job
public class JobEntityImpl extends AbstractJobEntityImpl implements JobEntity
Job entity.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.DatelockExpirationTimeprotected java.lang.StringlockOwner-
Fields inherited from class org.activiti.engine.impl.persistence.entity.AbstractJobEntityImpl
duedate, endDate, exceptionByteArrayRef, exceptionMessage, executionId, isExclusive, jobHandlerConfiguration, jobHandlerType, jobType, maxIterations, processDefinitionId, processInstanceId, repeat, retries, tenantId
-
Fields inherited from class org.activiti.engine.impl.persistence.entity.AbstractEntity
id, isDeleted, isInserted, isUpdated, revision
-
Fields inherited from interface org.activiti.engine.runtime.Job
DEFAULT_EXCLUSIVE, JOB_TYPE_MESSAGE, JOB_TYPE_TIMER, MAX_EXCEPTION_MESSAGE_LENGTH
-
-
Constructor Summary
Constructors Constructor Description JobEntityImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.DategetLockExpirationTime()java.lang.StringgetLockOwner()java.lang.ObjectgetPersistentState()Returns a representation of the object, as would be stored in the database.voidsetExecution(ExecutionEntity execution)voidsetLockExpirationTime(java.util.Date claimedUntil)voidsetLockOwner(java.lang.String claimedBy)java.lang.StringtoString()-
Methods inherited from class org.activiti.engine.impl.persistence.entity.AbstractJobEntityImpl
getDuedate, getEndDate, getExceptionByteArrayRef, getExceptionMessage, getExceptionStacktrace, getExecutionId, getJobHandlerConfiguration, getJobHandlerType, getJobType, getMaxIterations, getProcessDefinitionId, getProcessInstanceId, getRepeat, getRetries, getTenantId, getUtf8Bytes, isExclusive, setDuedate, setEndDate, setExceptionMessage, setExceptionStacktrace, setExclusive, setExecutionId, setJobHandlerConfiguration, setJobHandlerType, setJobType, setMaxIterations, setProcessDefinitionId, setProcessInstanceId, setRepeat, setRetries, setTenantId
-
Methods inherited from class org.activiti.engine.impl.persistence.entity.AbstractEntity
getId, getRevision, getRevisionNext, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setRevision, setUpdated
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.activiti.engine.impl.persistence.entity.AbstractJobEntity
getEndDate, getExceptionByteArrayRef, getExceptionStacktrace, getJobHandlerConfiguration, getJobHandlerType, getJobType, getMaxIterations, getRepeat, isExclusive, setDuedate, setEndDate, setExceptionMessage, setExceptionStacktrace, setExclusive, setExecutionId, setJobHandlerConfiguration, setJobHandlerType, setJobType, setMaxIterations, setProcessDefinitionId, setProcessInstanceId, setRepeat, setRetries, setTenantId
-
Methods inherited from interface org.activiti.engine.impl.persistence.entity.Entity
getId, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setUpdated
-
Methods inherited from interface org.activiti.engine.impl.db.HasRevision
getRevision, getRevisionNext, setRevision
-
Methods inherited from interface org.activiti.engine.runtime.Job
getDuedate, getExceptionMessage, getExecutionId, getId, getProcessDefinitionId, getProcessInstanceId, getRetries, getTenantId
-
-
-
-
Method Detail
-
getPersistentState
public java.lang.Object getPersistentState()
Description copied from interface:EntityReturns 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 interfaceEntity- Overrides:
getPersistentStatein classAbstractJobEntityImpl
-
setExecution
public void setExecution(ExecutionEntity execution)
- Specified by:
setExecutionin interfaceAbstractJobEntity- Overrides:
setExecutionin classAbstractJobEntityImpl
-
getLockOwner
public java.lang.String getLockOwner()
- Specified by:
getLockOwnerin interfaceJobEntity
-
setLockOwner
public void setLockOwner(java.lang.String claimedBy)
- Specified by:
setLockOwnerin interfaceJobEntity
-
getLockExpirationTime
public java.util.Date getLockExpirationTime()
- Specified by:
getLockExpirationTimein interfaceJobEntity
-
setLockExpirationTime
public void setLockExpirationTime(java.util.Date claimedUntil)
- Specified by:
setLockExpirationTimein interfaceJobEntity
-
toString
public java.lang.String toString()
- Overrides:
toStringin classAbstractJobEntityImpl
-
-