Interface JobInfoEntity
- All Superinterfaces:
AbstractJobEntity,Entity,HasRevision,JobInfo
- All Known Subinterfaces:
ExternalWorkerJobEntity,HistoryJobEntity,JobEntity,TimerJobEntity
- All Known Implementing Classes:
ExternalWorkerJobEntityImpl,HistoryJobEntityImpl,JobEntityImpl,TimerJobEntityImpl
-
Field Summary
Fields inherited from interface org.flowable.job.api.JobInfo
MAX_EXCEPTION_MESSAGE_LENGTH -
Method Summary
Modifier and TypeMethodDescriptionvoidsetLockExpirationTime(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, setTenantIdMethods 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, setRevisionMethods inherited from interface org.flowable.job.api.JobInfo
getCustomValues, getExceptionMessage, getId, getJobHandlerConfiguration, getJobHandlerType, getRetries, getTenantId
-
Method Details
-
getLockOwner
String getLockOwner() -
setLockOwner
-
getLockExpirationTime
Date getLockExpirationTime() -
setLockExpirationTime
-
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.
- Specified by:
setScopeTypein interfaceAbstractJobEntity- Parameters:
scopeType- the scope type for the job
-
getScopeType
String getScopeType()- Specified by:
getScopeTypein interfaceAbstractJobEntity
-