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
public interface AbstractJobEntity extends Entity, HasRevision
- Author:
- Tijs Rademakers, Joram Barrez
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DategetCreateTime()StringgetCustomValues()ByteArrayRefgetCustomValuesByteArrayRef()ByteArrayRefgetExceptionByteArrayRef()StringgetExceptionMessage()StringgetExceptionStacktrace()StringgetJobHandlerConfiguration()StringgetJobHandlerType()intgetRetries()StringgetScopeType()StringgetTenantId()voidsetCreateTime(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, setUpdated
-
Methods inherited from interface org.flowable.common.engine.impl.db.HasRevision
getRevision, getRevisionNext, setRevision
-
-
-
-
Method Detail
-
setScopeType
void setScopeType(String scopeType)
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
void setJobHandlerType(String jobHandlerType)
-
getJobHandlerType
String getJobHandlerType()
-
getJobHandlerConfiguration
String getJobHandlerConfiguration()
-
setJobHandlerConfiguration
void setJobHandlerConfiguration(String jobHandlerConfiguration)
-
getCustomValues
String getCustomValues()
-
setCustomValues
void setCustomValues(String customValues)
-
getCustomValuesByteArrayRef
ByteArrayRef getCustomValuesByteArrayRef()
-
setCustomValuesByteArrayRef
void setCustomValuesByteArrayRef(ByteArrayRef customValuesByteArrayRef)
-
getExceptionStacktrace
String getExceptionStacktrace()
-
setExceptionStacktrace
void setExceptionStacktrace(String exception)
-
getExceptionMessage
String getExceptionMessage()
-
setExceptionMessage
void setExceptionMessage(String exceptionMessage)
-
getExceptionByteArrayRef
ByteArrayRef getExceptionByteArrayRef()
-
setExceptionByteArrayRef
void setExceptionByteArrayRef(ByteArrayRef exceptionByteArrayRef)
-
getTenantId
String getTenantId()
-
setTenantId
void setTenantId(String tenantId)
-
getCreateTime
Date getCreateTime()
-
setCreateTime
void setCreateTime(Date createTime)
-
-