public abstract class AbstractJobEntityImpl extends AbstractJobServiceEntity implements AbstractRuntimeJobEntity, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected String |
category |
protected String |
correlationId |
protected Date |
createTime |
protected ByteArrayRef |
customValuesByteArrayRef |
protected Date |
duedate |
protected String |
elementId |
protected String |
elementName |
protected Date |
endDate |
protected ByteArrayRef |
exceptionByteArrayRef |
protected String |
exceptionMessage |
protected String |
executionId |
protected boolean |
isExclusive |
protected String |
jobHandlerConfiguration |
protected String |
jobHandlerType |
protected String |
jobType |
protected int |
maxIterations |
protected String |
processDefinitionId |
protected String |
processInstanceId |
protected String |
repeat |
protected int |
retries |
protected String |
scopeDefinitionId |
protected String |
scopeId |
protected String |
scopeType |
protected String |
subScopeId |
protected String |
tenantId |
id, isDeleted, isInserted, isUpdated, originalPersistentState, revisionDEFAULT_EXCLUSIVE, JOB_TYPE_EXTERNAL_WORKER, JOB_TYPE_MESSAGE, JOB_TYPE_TIMER, MAX_EXCEPTION_MESSAGE_LENGTH| Constructor and Description |
|---|
AbstractJobEntityImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCategory()
Get the category for this job.
|
String |
getCorrelationId()
Returns the correlation id of a job.
|
Date |
getCreateTime()
Returns the create datetime of the job.
|
String |
getCustomValues()
Get the custom values.
|
ByteArrayRef |
getCustomValuesByteArrayRef() |
Date |
getDuedate()
Returns the date on which this job is supposed to be processed.
|
String |
getElementId()
Reference to an element identifier or null if none is set.
|
String |
getElementName()
Reference to an element name or null if none is set.
|
Date |
getEndDate() |
protected String |
getEngineType() |
ByteArrayRef |
getExceptionByteArrayRef() |
String |
getExceptionMessage()
Returns the message of the exception that occurred, the last time the job was executed.
|
String |
getExceptionStacktrace() |
String |
getExecutionId()
Returns the specific execution on which the job was created.
|
String |
getJobHandlerConfiguration()
Get the job handler configuration.
|
String |
getJobHandlerType()
Get the job handler type.
|
String |
getJobType()
Get the job type for this job.
|
int |
getMaxIterations() |
Object |
getPersistentState()
Returns a representation of the object, as would be stored in the database.
|
String |
getProcessDefinitionId()
Returns the specific process definition on which the job was created
|
String |
getProcessInstanceId()
x
Returns the id of the process instance which execution created the job.
|
String |
getRepeat() |
int |
getRetries()
Returns the number of retries this job has left.
|
String |
getScopeDefinitionId()
Reference to a scope definition identifier or null if none is set.
|
String |
getScopeId()
Reference to a scope identifier or null if none is set.
|
String |
getScopeType()
Reference to a scope type or null if none is set.
|
String |
getSubScopeId()
Reference to a sub scope identifier or null if none is set.
|
String |
getTenantId()
Get the tenant identifier for this job.
|
boolean |
isExclusive()
Is the job exclusive?
|
void |
setCategory(String category) |
void |
setCorrelationId(String correlationId) |
void |
setCreateTime(Date createTime) |
void |
setCustomValues(String customValues) |
void |
setCustomValuesByteArrayRef(ByteArrayRef customValuesByteArrayRef) |
void |
setDuedate(Date duedate) |
void |
setElementId(String elementId) |
void |
setElementName(String elementName) |
void |
setEndDate(Date endDate) |
void |
setExceptionByteArrayRef(ByteArrayRef exceptionByteArrayRef) |
void |
setExceptionMessage(String exceptionMessage) |
void |
setExceptionStacktrace(String exception) |
void |
setExclusive(boolean isExclusive) |
void |
setExecutionId(String executionId) |
void |
setJobHandlerConfiguration(String jobHandlerConfiguration) |
void |
setJobHandlerType(String jobHandlerType) |
void |
setJobType(String jobType) |
void |
setMaxIterations(int maxIterations) |
void |
setProcessDefinitionId(String processDefinitionId) |
void |
setProcessInstanceId(String processInstanceId) |
void |
setRepeat(String repeat) |
void |
setRetries(int retries) |
void |
setScopeDefinitionId(String scopeDefinitionId) |
void |
setScopeId(String scopeId) |
void |
setScopeType(String scopeType)
Set the scope type for the job.
|
void |
setSubScopeId(String subScopeId) |
void |
setTenantId(String tenantId) |
String |
toString() |
getIdPrefixgetId, getOriginalPersistentState, getRevision, getRevisionNext, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setRevision, setUpdatedclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetId, getIdPrefix, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdatedgetRevision, getRevisionNext, setRevisionprotected Date createTime
protected Date duedate
protected String executionId
protected String processInstanceId
protected String processDefinitionId
protected String category
protected String jobType
protected String elementId
protected String elementName
protected String scopeId
protected String subScopeId
protected String scopeType
protected String scopeDefinitionId
protected String correlationId
protected boolean isExclusive
protected int retries
protected int maxIterations
protected String repeat
protected Date endDate
protected String jobHandlerType
protected String jobHandlerConfiguration
protected ByteArrayRef customValuesByteArrayRef
protected ByteArrayRef exceptionByteArrayRef
protected String exceptionMessage
protected String tenantId
public Object getPersistentState()
EntitygetPersistentState in interface Entitypublic Date getCreateTime()
JobgetCreateTime in interface JobgetCreateTime in interface AbstractJobEntitypublic void setCreateTime(Date createTime)
setCreateTime in interface AbstractJobEntitysetCreateTime in interface AbstractRuntimeJobEntitypublic Date getDuedate()
JobgetDuedate in interface Jobpublic void setDuedate(Date duedate)
setDuedate in interface AbstractRuntimeJobEntitypublic String getExecutionId()
JobgetExecutionId in interface Jobpublic void setExecutionId(String executionId)
setExecutionId in interface AbstractRuntimeJobEntitypublic int getRetries()
JobInfogetRetries in interface JobInfogetRetries in interface AbstractJobEntitypublic void setRetries(int retries)
setRetries in interface AbstractJobEntitypublic String getProcessInstanceId()
JobgetProcessInstanceId in interface Jobpublic void setProcessInstanceId(String processInstanceId)
setProcessInstanceId in interface AbstractRuntimeJobEntitypublic boolean isExclusive()
JobisExclusive in interface Jobpublic void setExclusive(boolean isExclusive)
setExclusive in interface AbstractRuntimeJobEntitypublic String getProcessDefinitionId()
JobgetProcessDefinitionId in interface Jobpublic void setProcessDefinitionId(String processDefinitionId)
setProcessDefinitionId in interface AbstractRuntimeJobEntitypublic String getElementId()
JobgetElementId in interface Jobpublic void setElementId(String elementId)
setElementId in interface AbstractRuntimeJobEntitypublic String getElementName()
JobgetElementName in interface Jobpublic void setElementName(String elementName)
setElementName in interface AbstractRuntimeJobEntitypublic String getScopeId()
JobgetScopeId in interface Jobpublic void setScopeId(String scopeId)
setScopeId in interface AbstractRuntimeJobEntitypublic String getSubScopeId()
JobgetSubScopeId in interface Jobpublic void setSubScopeId(String subScopeId)
setSubScopeId in interface AbstractRuntimeJobEntitypublic String getScopeType()
JobgetScopeType in interface JobgetScopeType in interface AbstractJobEntitypublic void setScopeType(String scopeType)
AbstractJobEntityFor 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.
setScopeType in interface AbstractJobEntityscopeType - the scope type for the jobpublic String getScopeDefinitionId()
JobgetScopeDefinitionId in interface Jobpublic void setScopeDefinitionId(String scopeDefinitionId)
setScopeDefinitionId in interface AbstractRuntimeJobEntitypublic String getCorrelationId()
JobgetCorrelationId in interface Jobpublic void setCorrelationId(String correlationId)
setCorrelationId in interface AbstractRuntimeJobEntitypublic String getCategory()
JobgetCategory in interface Jobpublic void setCategory(String category)
setCategory in interface AbstractRuntimeJobEntitypublic String getJobType()
JobgetJobType in interface Jobpublic void setJobType(String jobType)
setJobType in interface AbstractRuntimeJobEntitypublic String getRepeat()
getRepeat in interface AbstractRuntimeJobEntitypublic void setRepeat(String repeat)
setRepeat in interface AbstractRuntimeJobEntitypublic Date getEndDate()
getEndDate in interface AbstractRuntimeJobEntitypublic void setEndDate(Date endDate)
setEndDate in interface AbstractRuntimeJobEntitypublic int getMaxIterations()
getMaxIterations in interface AbstractRuntimeJobEntitypublic void setMaxIterations(int maxIterations)
setMaxIterations in interface AbstractRuntimeJobEntitypublic String getJobHandlerType()
JobInfogetJobHandlerType in interface JobInfogetJobHandlerType in interface AbstractJobEntitypublic void setJobHandlerType(String jobHandlerType)
setJobHandlerType in interface AbstractJobEntitypublic String getJobHandlerConfiguration()
JobInfogetJobHandlerConfiguration in interface JobInfogetJobHandlerConfiguration in interface AbstractJobEntitypublic void setJobHandlerConfiguration(String jobHandlerConfiguration)
setJobHandlerConfiguration in interface AbstractJobEntitypublic ByteArrayRef getCustomValuesByteArrayRef()
getCustomValuesByteArrayRef in interface AbstractJobEntitypublic void setCustomValuesByteArrayRef(ByteArrayRef customValuesByteArrayRef)
setCustomValuesByteArrayRef in interface AbstractJobEntitypublic String getCustomValues()
JobInfogetCustomValues in interface JobInfogetCustomValues in interface AbstractJobEntitypublic void setCustomValues(String customValues)
setCustomValues in interface AbstractJobEntitypublic String getTenantId()
JobInfogetTenantId in interface JobInfogetTenantId in interface AbstractJobEntitypublic void setTenantId(String tenantId)
setTenantId in interface AbstractJobEntitypublic String getExceptionStacktrace()
getExceptionStacktrace in interface AbstractJobEntitypublic void setExceptionStacktrace(String exception)
setExceptionStacktrace in interface AbstractJobEntitypublic String getExceptionMessage()
JobInfogetExceptionMessage in interface JobInfogetExceptionMessage in interface AbstractJobEntitypublic void setExceptionMessage(String exceptionMessage)
setExceptionMessage in interface AbstractJobEntitypublic ByteArrayRef getExceptionByteArrayRef()
getExceptionByteArrayRef in interface AbstractJobEntitypublic void setExceptionByteArrayRef(ByteArrayRef exceptionByteArrayRef)
setExceptionByteArrayRef in interface AbstractJobEntityprotected String getEngineType()
Copyright © 2023 Flowable. All rights reserved.