Class AbstractJobEntityImpl
- 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.AbstractJobEntityImpl
-
- All Implemented Interfaces:
Serializable,HasRevision,Entity,Job,JobInfo,AbstractJobEntity,AbstractRuntimeJobEntity
- Direct Known Subclasses:
DeadLetterJobEntityImpl,ExternalWorkerJobEntityImpl,JobEntityImpl,SuspendedJobEntityImpl,TimerJobEntityImpl
public abstract class AbstractJobEntityImpl extends AbstractJobServiceEntity implements AbstractRuntimeJobEntity, Serializable
Abstract job entity class.- Author:
- Tijs Rademakers
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringcategoryprotected StringcorrelationIdprotected DatecreateTimeprotected ByteArrayRefcustomValuesByteArrayRefprotected Dateduedateprotected StringelementIdprotected StringelementNameprotected DateendDateprotected ByteArrayRefexceptionByteArrayRefprotected StringexceptionMessageprotected StringexecutionIdprotected booleanisExclusiveprotected StringjobHandlerConfigurationprotected StringjobHandlerTypeprotected StringjobTypeprotected intmaxIterationsprotected StringprocessDefinitionIdprotected StringprocessInstanceIdprotected Stringrepeatprotected intretriesprotected StringscopeDefinitionIdprotected StringscopeIdprotected StringscopeTypeprotected StringsubScopeIdprotected StringtenantId-
Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
id, isDeleted, isInserted, isUpdated, originalPersistentState, revision
-
Fields inherited from interface org.flowable.job.api.Job
DEFAULT_EXCLUSIVE, JOB_TYPE_EXTERNAL_WORKER, JOB_TYPE_MESSAGE, JOB_TYPE_TIMER
-
Fields inherited from interface org.flowable.job.api.JobInfo
MAX_EXCEPTION_MESSAGE_LENGTH
-
-
Constructor Summary
Constructors Constructor Description AbstractJobEntityImpl()
-
Method Summary
-
Methods inherited from class org.flowable.job.service.impl.persistence.entity.AbstractJobServiceEntity
getIdPrefix
-
Methods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
getId, getOriginalPersistentState, getRevision, getRevisionNext, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setRevision, setUpdated
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.flowable.common.engine.impl.persistence.entity.Entity
getId, getIdPrefix, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdated
-
Methods inherited from interface org.flowable.common.engine.impl.db.HasRevision
getRevision, getRevisionNext, setRevision
-
-
-
-
Field Detail
-
createTime
protected Date createTime
-
duedate
protected Date duedate
-
executionId
protected String executionId
-
processInstanceId
protected String processInstanceId
-
processDefinitionId
protected String processDefinitionId
-
category
protected String category
-
jobType
protected String jobType
-
elementId
protected String elementId
-
elementName
protected String elementName
-
scopeId
protected String scopeId
-
subScopeId
protected String subScopeId
-
scopeType
protected String scopeType
-
scopeDefinitionId
protected String scopeDefinitionId
-
correlationId
protected String correlationId
-
isExclusive
protected boolean isExclusive
-
retries
protected int retries
-
maxIterations
protected int maxIterations
-
repeat
protected String repeat
-
endDate
protected Date endDate
-
jobHandlerType
protected String jobHandlerType
-
jobHandlerConfiguration
protected String jobHandlerConfiguration
-
customValuesByteArrayRef
protected ByteArrayRef customValuesByteArrayRef
-
exceptionByteArrayRef
protected ByteArrayRef exceptionByteArrayRef
-
exceptionMessage
protected String exceptionMessage
-
tenantId
protected String tenantId
-
-
Method Detail
-
getPersistentState
public Object getPersistentState()
- Specified by:
getPersistentStatein interfaceEntity
-
getCreateTime
public Date getCreateTime()
- Specified by:
getCreateTimein interfaceAbstractJobEntity- Specified by:
getCreateTimein interfaceJob
-
setCreateTime
public void setCreateTime(Date createTime)
- Specified by:
setCreateTimein interfaceAbstractJobEntity- Specified by:
setCreateTimein interfaceAbstractRuntimeJobEntity
-
getDuedate
public Date getDuedate()
- Specified by:
getDuedatein interfaceJob
-
setDuedate
public void setDuedate(Date duedate)
- Specified by:
setDuedatein interfaceAbstractRuntimeJobEntity
-
getExecutionId
public String getExecutionId()
- Specified by:
getExecutionIdin interfaceJob
-
setExecutionId
public void setExecutionId(String executionId)
- Specified by:
setExecutionIdin interfaceAbstractRuntimeJobEntity
-
getRetries
public int getRetries()
- Specified by:
getRetriesin interfaceAbstractJobEntity- Specified by:
getRetriesin interfaceJobInfo
-
setRetries
public void setRetries(int retries)
- Specified by:
setRetriesin interfaceAbstractJobEntity
-
getProcessInstanceId
public String getProcessInstanceId()
- Specified by:
getProcessInstanceIdin interfaceJob
-
setProcessInstanceId
public void setProcessInstanceId(String processInstanceId)
- Specified by:
setProcessInstanceIdin interfaceAbstractRuntimeJobEntity
-
isExclusive
public boolean isExclusive()
- Specified by:
isExclusivein interfaceJob
-
setExclusive
public void setExclusive(boolean isExclusive)
- Specified by:
setExclusivein interfaceAbstractRuntimeJobEntity
-
getProcessDefinitionId
public String getProcessDefinitionId()
- Specified by:
getProcessDefinitionIdin interfaceJob
-
setProcessDefinitionId
public void setProcessDefinitionId(String processDefinitionId)
- Specified by:
setProcessDefinitionIdin interfaceAbstractRuntimeJobEntity
-
getElementId
public String getElementId()
- Specified by:
getElementIdin interfaceJob
-
setElementId
public void setElementId(String elementId)
- Specified by:
setElementIdin interfaceAbstractRuntimeJobEntity
-
getElementName
public String getElementName()
- Specified by:
getElementNamein interfaceJob
-
setElementName
public void setElementName(String elementName)
- Specified by:
setElementNamein interfaceAbstractRuntimeJobEntity
-
getScopeId
public String getScopeId()
- Specified by:
getScopeIdin interfaceJob
-
setScopeId
public void setScopeId(String scopeId)
- Specified by:
setScopeIdin interfaceAbstractRuntimeJobEntity
-
getSubScopeId
public String getSubScopeId()
- Specified by:
getSubScopeIdin interfaceJob
-
setSubScopeId
public void setSubScopeId(String subScopeId)
- Specified by:
setSubScopeIdin interfaceAbstractRuntimeJobEntity
-
getScopeType
public String getScopeType()
- Specified by:
getScopeTypein interfaceAbstractJobEntity- Specified by:
getScopeTypein interfaceJob
-
setScopeType
public void setScopeType(String scopeType)
Description copied from interface:AbstractJobEntitySet 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
-
getScopeDefinitionId
public String getScopeDefinitionId()
- Specified by:
getScopeDefinitionIdin interfaceJob
-
setScopeDefinitionId
public void setScopeDefinitionId(String scopeDefinitionId)
- Specified by:
setScopeDefinitionIdin interfaceAbstractRuntimeJobEntity
-
getCorrelationId
public String getCorrelationId()
- Specified by:
getCorrelationIdin interfaceJob
-
setCorrelationId
public void setCorrelationId(String correlationId)
- Specified by:
setCorrelationIdin interfaceAbstractRuntimeJobEntity
-
getCategory
public String getCategory()
- Specified by:
getCategoryin interfaceJob
-
setCategory
public void setCategory(String category)
- Specified by:
setCategoryin interfaceAbstractRuntimeJobEntity
-
getJobType
public String getJobType()
- Specified by:
getJobTypein interfaceJob
-
setJobType
public void setJobType(String jobType)
- Specified by:
setJobTypein interfaceAbstractRuntimeJobEntity
-
getRepeat
public String getRepeat()
- Specified by:
getRepeatin interfaceAbstractRuntimeJobEntity
-
setRepeat
public void setRepeat(String repeat)
- Specified by:
setRepeatin interfaceAbstractRuntimeJobEntity
-
getEndDate
public Date getEndDate()
- Specified by:
getEndDatein interfaceAbstractRuntimeJobEntity
-
setEndDate
public void setEndDate(Date endDate)
- Specified by:
setEndDatein interfaceAbstractRuntimeJobEntity
-
getMaxIterations
public int getMaxIterations()
- Specified by:
getMaxIterationsin interfaceAbstractRuntimeJobEntity
-
setMaxIterations
public void setMaxIterations(int maxIterations)
- Specified by:
setMaxIterationsin interfaceAbstractRuntimeJobEntity
-
getJobHandlerType
public String getJobHandlerType()
- Specified by:
getJobHandlerTypein interfaceAbstractJobEntity- Specified by:
getJobHandlerTypein interfaceJobInfo
-
setJobHandlerType
public void setJobHandlerType(String jobHandlerType)
- Specified by:
setJobHandlerTypein interfaceAbstractJobEntity
-
getJobHandlerConfiguration
public String getJobHandlerConfiguration()
- Specified by:
getJobHandlerConfigurationin interfaceAbstractJobEntity- Specified by:
getJobHandlerConfigurationin interfaceJobInfo
-
setJobHandlerConfiguration
public void setJobHandlerConfiguration(String jobHandlerConfiguration)
- Specified by:
setJobHandlerConfigurationin interfaceAbstractJobEntity
-
getCustomValuesByteArrayRef
public ByteArrayRef getCustomValuesByteArrayRef()
- Specified by:
getCustomValuesByteArrayRefin interfaceAbstractJobEntity
-
setCustomValuesByteArrayRef
public void setCustomValuesByteArrayRef(ByteArrayRef customValuesByteArrayRef)
- Specified by:
setCustomValuesByteArrayRefin interfaceAbstractJobEntity
-
getCustomValues
public String getCustomValues()
- Specified by:
getCustomValuesin interfaceAbstractJobEntity- Specified by:
getCustomValuesin interfaceJobInfo
-
setCustomValues
public void setCustomValues(String customValues)
- Specified by:
setCustomValuesin interfaceAbstractJobEntity
-
getTenantId
public String getTenantId()
- Specified by:
getTenantIdin interfaceAbstractJobEntity- Specified by:
getTenantIdin interfaceJobInfo
-
setTenantId
public void setTenantId(String tenantId)
- Specified by:
setTenantIdin interfaceAbstractJobEntity
-
getExceptionStacktrace
public String getExceptionStacktrace()
- Specified by:
getExceptionStacktracein interfaceAbstractJobEntity
-
setExceptionStacktrace
public void setExceptionStacktrace(String exception)
- Specified by:
setExceptionStacktracein interfaceAbstractJobEntity
-
getExceptionMessage
public String getExceptionMessage()
- Specified by:
getExceptionMessagein interfaceAbstractJobEntity- Specified by:
getExceptionMessagein interfaceJobInfo
-
setExceptionMessage
public void setExceptionMessage(String exceptionMessage)
- Specified by:
setExceptionMessagein interfaceAbstractJobEntity
-
getExceptionByteArrayRef
public ByteArrayRef getExceptionByteArrayRef()
- Specified by:
getExceptionByteArrayRefin interfaceAbstractJobEntity
-
setExceptionByteArrayRef
public void setExceptionByteArrayRef(ByteArrayRef exceptionByteArrayRef)
- Specified by:
setExceptionByteArrayRefin interfaceAbstractJobEntity
-
getEngineType
protected String getEngineType()
-
-