Interface JobInfoEntity
-
- All Superinterfaces:
AbstractJobEntity,Entity,HasRevision,JobInfo
- All Known Subinterfaces:
ExternalWorkerJobEntity,HistoryJobEntity,JobEntity,TimerJobEntity
- All Known Implementing Classes:
ExternalWorkerJobEntityImpl,HistoryJobEntityImpl,JobEntityImpl,TimerJobEntityImpl
public interface JobInfoEntity extends JobInfo, AbstractJobEntity, Entity, HasRevision
-
-
Field Summary
-
Fields inherited from interface org.flowable.job.api.JobInfo
MAX_EXCEPTION_MESSAGE_LENGTH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DategetLockExpirationTime()StringgetLockOwner()StringgetScopeType()voidsetLockExpirationTime(Date claimedUntil)voidsetLockOwner(String claimedBy)voidsetScopeType(String scopeType)Set the scope type for the job.-
Methods inherited from interface org.flowable.job.service.impl.persistence.entity.AbstractJobEntity
getCreateTime, getCustomValues, getCustomValuesByteArrayRef, getExceptionByteArrayRef, getExceptionMessage, getExceptionStacktrace, getJobHandlerConfiguration, getJobHandlerType, getRetries, getTenantId, setCreateTime, setCustomValues, setCustomValuesByteArrayRef, setExceptionByteArrayRef, setExceptionMessage, setExceptionStacktrace, setJobHandlerConfiguration, setJobHandlerType, setRetries, setTenantId
-
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
-
Methods inherited from interface org.flowable.job.api.JobInfo
getCustomValues, getExceptionMessage, getId, getJobHandlerConfiguration, getJobHandlerType, getRetries, getTenantId
-
-
-
-
Method Detail
-
getLockOwner
String getLockOwner()
-
setLockOwner
void setLockOwner(String claimedBy)
-
getLockExpirationTime
Date getLockExpirationTime()
-
setLockExpirationTime
void setLockExpirationTime(Date claimedUntil)
-
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.
- Specified by:
setScopeTypein interfaceAbstractJobEntity- Parameters:
scopeType- the scope type for the job
-
getScopeType
String getScopeType()
- Specified by:
getScopeTypein interfaceAbstractJobEntity
-
-