Class HistoryJobEntityImpl
- 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.HistoryJobEntityImpl
-
- All Implemented Interfaces:
Serializable,HasRevision,Entity,HistoryJob,JobInfo,AbstractJobEntity,HistoryJobEntity,JobInfoEntity
public class HistoryJobEntityImpl extends AbstractJobServiceEntity implements HistoryJobEntity, Serializable
History Job entity.- Author:
- Joram Barrez, Tijs Rademakers
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected ByteArrayRefadvancedJobHandlerConfigurationByteArrayRefprotected DatecreateTimeprotected ByteArrayRefcustomValuesByteArrayRefprotected ByteArrayRefexceptionByteArrayRefprotected StringexceptionMessageprotected StringjobHandlerConfigurationprotected StringjobHandlerTypeprotected DatelockExpirationTimeprotected StringlockOwnerprotected intretriesprotected StringscopeTypeprotected StringtenantId-
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.HistoryJob
HISTORY_JOB_TYPE
-
Fields inherited from interface org.flowable.job.api.JobInfo
MAX_EXCEPTION_MESSAGE_LENGTH
-
-
Constructor Summary
Constructors Constructor Description HistoryJobEntityImpl()
-
Method Summary
-
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.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
-
-
-
-
Field Detail
-
retries
protected int retries
-
jobHandlerType
protected String jobHandlerType
-
jobHandlerConfiguration
protected String jobHandlerConfiguration
-
customValuesByteArrayRef
protected ByteArrayRef customValuesByteArrayRef
-
advancedJobHandlerConfigurationByteArrayRef
protected ByteArrayRef advancedJobHandlerConfigurationByteArrayRef
-
exceptionByteArrayRef
protected ByteArrayRef exceptionByteArrayRef
-
exceptionMessage
protected String exceptionMessage
-
lockOwner
protected String lockOwner
-
lockExpirationTime
protected Date lockExpirationTime
-
createTime
protected Date createTime
-
scopeType
protected String scopeType
-
tenantId
protected String tenantId
-
-
Method Detail
-
getPersistentState
public Object getPersistentState()
- Specified by:
getPersistentStatein interfaceEntity
-
getRetries
public int getRetries()
- Specified by:
getRetriesin interfaceAbstractJobEntity- Specified by:
getRetriesin interfaceJobInfo
-
setRetries
public void setRetries(int retries)
- Specified by:
setRetriesin interfaceAbstractJobEntity
-
getJobHandlerType
public String getJobHandlerType()
- Specified by:
getJobHandlerTypein interfaceAbstractJobEntity- Specified by:
getJobHandlerTypein interfaceJobInfo
-
setJobHandlerType
public void setJobHandlerType(String jobHandlerType)
- Specified by:
setJobHandlerTypein interfaceAbstractJobEntity
-
getJobHandlerConfiguration
public String getJobHandlerConfiguration()
- Specified by:
getJobHandlerConfigurationin interfaceAbstractJobEntity- Specified by:
getJobHandlerConfigurationin interfaceJobInfo
-
setJobHandlerConfiguration
public void setJobHandlerConfiguration(String jobHandlerConfiguration)
- Specified by:
setJobHandlerConfigurationin interfaceAbstractJobEntity
-
getCustomValues
public String getCustomValues()
- Specified by:
getCustomValuesin interfaceAbstractJobEntity- Specified by:
getCustomValuesin interfaceJobInfo
-
setCustomValues
public void setCustomValues(String customValues)
- Specified by:
setCustomValuesin interfaceAbstractJobEntity
-
getCustomValuesByteArrayRef
public ByteArrayRef getCustomValuesByteArrayRef()
- Specified by:
getCustomValuesByteArrayRefin interfaceAbstractJobEntity
-
setCustomValuesByteArrayRef
public void setCustomValuesByteArrayRef(ByteArrayRef customValuesByteArrayRef)
- Specified by:
setCustomValuesByteArrayRefin interfaceAbstractJobEntity
-
getAdvancedJobHandlerConfigurationByteArrayRef
public ByteArrayRef getAdvancedJobHandlerConfigurationByteArrayRef()
- Specified by:
getAdvancedJobHandlerConfigurationByteArrayRefin interfaceHistoryJobEntity
-
getAdvancedJobHandlerConfiguration
public String getAdvancedJobHandlerConfiguration()
- Specified by:
getAdvancedJobHandlerConfigurationin interfaceHistoryJobEntity
-
setAdvancedJobHandlerConfigurationByteArrayRef
public void setAdvancedJobHandlerConfigurationByteArrayRef(ByteArrayRef configurationByteArrayRef)
- Specified by:
setAdvancedJobHandlerConfigurationByteArrayRefin interfaceHistoryJobEntity
-
setAdvancedJobHandlerConfiguration
public void setAdvancedJobHandlerConfiguration(String jobHandlerConfiguration)
- Specified by:
setAdvancedJobHandlerConfigurationin interfaceHistoryJobEntity
-
setAdvancedJobHandlerConfigurationBytes
public void setAdvancedJobHandlerConfigurationBytes(byte[] bytes)
- Specified by:
setAdvancedJobHandlerConfigurationBytesin interfaceHistoryJobEntity
-
setExceptionByteArrayRef
public void setExceptionByteArrayRef(ByteArrayRef exceptionByteArrayRef)
- Specified by:
setExceptionByteArrayRefin interfaceAbstractJobEntity
-
getExceptionByteArrayRef
public ByteArrayRef getExceptionByteArrayRef()
- Specified by:
getExceptionByteArrayRefin interfaceAbstractJobEntity
-
getExceptionStacktrace
public String getExceptionStacktrace()
- Specified by:
getExceptionStacktracein interfaceAbstractJobEntity
-
setExceptionStacktrace
public void setExceptionStacktrace(String exception)
- Specified by:
setExceptionStacktracein interfaceAbstractJobEntity
-
getExceptionMessage
public String getExceptionMessage()
- Specified by:
getExceptionMessagein interfaceAbstractJobEntity- Specified by:
getExceptionMessagein interfaceJobInfo
-
setExceptionMessage
public void setExceptionMessage(String exceptionMessage)
- Specified by:
setExceptionMessagein interfaceAbstractJobEntity
-
getTenantId
public String getTenantId()
- Specified by:
getTenantIdin interfaceAbstractJobEntity- Specified by:
getTenantIdin interfaceJobInfo
-
setTenantId
public void setTenantId(String tenantId)
- Specified by:
setTenantIdin interfaceAbstractJobEntity
-
getCreateTime
public Date getCreateTime()
- Specified by:
getCreateTimein interfaceAbstractJobEntity- Specified by:
getCreateTimein interfaceHistoryJob
-
setCreateTime
public void setCreateTime(Date createTime)
- Specified by:
setCreateTimein interfaceAbstractJobEntity- Specified by:
setCreateTimein interfaceHistoryJobEntity
-
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
-
getScopeType
public String getScopeType()
- Specified by:
getScopeTypein interfaceAbstractJobEntity- Specified by:
getScopeTypein interfaceHistoryJob- Specified by:
getScopeTypein interfaceJobInfoEntity
-
setScopeType
public void setScopeType(String scopeType)
Description copied from interface:JobInfoEntitySet the scope type for the job. The scope type is the type which is used by the job executor to pick the jobs for executing.For example if the job should be picked up by the CMMN Job executor then it should have the same type as the CMMN job executor.
- Specified by:
setScopeTypein interfaceAbstractJobEntity- Specified by:
setScopeTypein interfaceJobInfoEntity- Parameters:
scopeType- the scope type for the job
-
getJobByteArrayRefAsString
protected String getJobByteArrayRefAsString(ByteArrayRef jobByteArrayRef)
-
getEngineType
protected String getEngineType()
-
-