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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ByteArrayRefprotected Dateprotected ByteArrayRefprotected ByteArrayRefprotected Stringprotected Stringprotected Stringprotected Dateprotected Stringprotected intprotected Stringprotected StringFields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
id, isDeleted, isInserted, isUpdated, originalPersistentState, revisionFields inherited from interface org.flowable.job.api.HistoryJob
HISTORY_JOB_TYPEFields inherited from interface org.flowable.job.api.JobInfo
MAX_EXCEPTION_MESSAGE_LENGTH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringprotected StringgetJobByteArrayRefAsString(ByteArrayRef jobByteArrayRef) intvoidsetAdvancedJobHandlerConfiguration(String jobHandlerConfiguration) voidsetAdvancedJobHandlerConfigurationByteArrayRef(ByteArrayRef configurationByteArrayRef) voidsetAdvancedJobHandlerConfigurationBytes(byte[] bytes) voidsetCreateTime(Date createTime) voidsetCustomValues(String customValues) voidsetCustomValuesByteArrayRef(ByteArrayRef customValuesByteArrayRef) voidsetExceptionByteArrayRef(ByteArrayRef exceptionByteArrayRef) voidsetExceptionMessage(String exceptionMessage) voidsetExceptionStacktrace(String exception) voidsetJobHandlerConfiguration(String jobHandlerConfiguration) voidsetJobHandlerType(String jobHandlerType) voidsetLockExpirationTime(Date claimedUntil) voidsetLockOwner(String claimedBy) voidsetRetries(int retries) voidsetScopeType(String scopeType) Set the scope type for the job.voidsetTenantId(String tenantId) toString()Methods inherited from class org.flowable.job.service.impl.persistence.entity.AbstractJobServiceEntity
getIdPrefixMethods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
getId, getOriginalPersistentState, getRevision, getRevisionNext, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setRevision, setUpdatedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.flowable.common.engine.impl.persistence.entity.Entity
getId, getIdPrefix, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdatedMethods inherited from interface org.flowable.common.engine.impl.db.HasRevision
getRevision, getRevisionNext, setRevision
-
Field Details
-
retries
protected int retries -
jobHandlerType
-
jobHandlerConfiguration
-
customValuesByteArrayRef
-
advancedJobHandlerConfigurationByteArrayRef
-
exceptionByteArrayRef
-
exceptionMessage
-
lockOwner
-
lockExpirationTime
-
createTime
-
scopeType
-
tenantId
-
-
Constructor Details
-
HistoryJobEntityImpl
public HistoryJobEntityImpl()
-
-
Method Details
-
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
- Specified by:
getJobHandlerTypein interfaceAbstractJobEntity- Specified by:
getJobHandlerTypein interfaceJobInfo
-
setJobHandlerType
- Specified by:
setJobHandlerTypein interfaceAbstractJobEntity
-
getJobHandlerConfiguration
- Specified by:
getJobHandlerConfigurationin interfaceAbstractJobEntity- Specified by:
getJobHandlerConfigurationin interfaceJobInfo
-
setJobHandlerConfiguration
- Specified by:
setJobHandlerConfigurationin interfaceAbstractJobEntity
-
getCustomValues
- Specified by:
getCustomValuesin interfaceAbstractJobEntity- Specified by:
getCustomValuesin interfaceJobInfo
-
setCustomValues
- Specified by:
setCustomValuesin interfaceAbstractJobEntity
-
getCustomValuesByteArrayRef
- Specified by:
getCustomValuesByteArrayRefin interfaceAbstractJobEntity
-
setCustomValuesByteArrayRef
- Specified by:
setCustomValuesByteArrayRefin interfaceAbstractJobEntity
-
getAdvancedJobHandlerConfigurationByteArrayRef
- Specified by:
getAdvancedJobHandlerConfigurationByteArrayRefin interfaceHistoryJobEntity
-
getAdvancedJobHandlerConfiguration
- Specified by:
getAdvancedJobHandlerConfigurationin interfaceHistoryJobEntity
-
setAdvancedJobHandlerConfigurationByteArrayRef
- Specified by:
setAdvancedJobHandlerConfigurationByteArrayRefin interfaceHistoryJobEntity
-
setAdvancedJobHandlerConfiguration
- Specified by:
setAdvancedJobHandlerConfigurationin interfaceHistoryJobEntity
-
setAdvancedJobHandlerConfigurationBytes
public void setAdvancedJobHandlerConfigurationBytes(byte[] bytes) - Specified by:
setAdvancedJobHandlerConfigurationBytesin interfaceHistoryJobEntity
-
setExceptionByteArrayRef
- Specified by:
setExceptionByteArrayRefin interfaceAbstractJobEntity
-
getExceptionByteArrayRef
- Specified by:
getExceptionByteArrayRefin interfaceAbstractJobEntity
-
getExceptionStacktrace
- Specified by:
getExceptionStacktracein interfaceAbstractJobEntity
-
setExceptionStacktrace
- Specified by:
setExceptionStacktracein interfaceAbstractJobEntity
-
getExceptionMessage
- Specified by:
getExceptionMessagein interfaceAbstractJobEntity- Specified by:
getExceptionMessagein interfaceJobInfo
-
setExceptionMessage
- Specified by:
setExceptionMessagein interfaceAbstractJobEntity
-
getTenantId
- Specified by:
getTenantIdin interfaceAbstractJobEntity- Specified by:
getTenantIdin interfaceJobInfo
-
setTenantId
- Specified by:
setTenantIdin interfaceAbstractJobEntity
-
getCreateTime
- Specified by:
getCreateTimein interfaceAbstractJobEntity- Specified by:
getCreateTimein interfaceHistoryJob
-
setCreateTime
- Specified by:
setCreateTimein interfaceAbstractJobEntity- Specified by:
setCreateTimein interfaceHistoryJobEntity
-
getLockOwner
- Specified by:
getLockOwnerin interfaceJobInfoEntity
-
setLockOwner
- Specified by:
setLockOwnerin interfaceJobInfoEntity
-
getLockExpirationTime
- Specified by:
getLockExpirationTimein interfaceJobInfoEntity
-
setLockExpirationTime
- Specified by:
setLockExpirationTimein interfaceJobInfoEntity
-
getScopeType
- Specified by:
getScopeTypein interfaceAbstractJobEntity- Specified by:
getScopeTypein interfaceHistoryJob- Specified by:
getScopeTypein interfaceJobInfoEntity
-
setScopeType
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
-
getEngineType
-
toString
-