Interface AbstractJobEntity
- All Superinterfaces:
Entity,HasRevision
- All Known Subinterfaces:
AbstractRuntimeJobEntity,DeadLetterJobEntity,ExternalWorkerJobEntity,HistoryJobEntity,JobEntity,JobInfoEntity,SuspendedJobEntity,TimerJobEntity
- All Known Implementing Classes:
AbstractJobEntityImpl,DeadLetterJobEntityImpl,ExternalWorkerJobEntityImpl,HistoryJobEntityImpl,JobEntityImpl,SuspendedJobEntityImpl,TimerJobEntityImpl
- Author:
- Tijs Rademakers, Joram Barrez
-
Method Summary
Modifier and TypeMethodDescriptionintvoidsetCreateTime(Date createTime) voidsetCustomValues(String customValues) voidsetCustomValuesByteArrayRef(ByteArrayRef customValuesByteArrayRef) voidsetExceptionByteArrayRef(ByteArrayRef exceptionByteArrayRef) voidsetExceptionMessage(String exceptionMessage) voidsetExceptionStacktrace(String exception) voidsetJobHandlerConfiguration(String jobHandlerConfiguration) voidsetJobHandlerType(String jobHandlerType) voidsetRetries(int retries) voidsetScopeType(String scopeType) Set the scope type for the job.voidsetTenantId(String tenantId) Methods inherited from interface org.flowable.common.engine.impl.persistence.entity.Entity
getId, getIdPrefix, getOriginalPersistentState, getPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdatedMethods inherited from interface org.flowable.common.engine.impl.db.HasRevision
getRevision, getRevisionNext, setRevision
-
Method Details
-
setScopeType
Set 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.
- Parameters:
scopeType- the scope type for the job
-
getScopeType
String getScopeType() -
getRetries
int getRetries() -
setRetries
void setRetries(int retries) -
setJobHandlerType
-
getJobHandlerType
String getJobHandlerType() -
getJobHandlerConfiguration
String getJobHandlerConfiguration() -
setJobHandlerConfiguration
-
getCustomValues
String getCustomValues() -
setCustomValues
-
getCustomValuesByteArrayRef
ByteArrayRef getCustomValuesByteArrayRef() -
setCustomValuesByteArrayRef
-
getExceptionStacktrace
String getExceptionStacktrace() -
setExceptionStacktrace
-
getExceptionMessage
String getExceptionMessage() -
setExceptionMessage
-
getExceptionByteArrayRef
ByteArrayRef getExceptionByteArrayRef() -
setExceptionByteArrayRef
-
getTenantId
String getTenantId() -
setTenantId
-
getCreateTime
Date getCreateTime() -
setCreateTime
-