public abstract class AbstractJobEntity extends Object implements org.flowable.job.api.Job, PersistentObject, HasRevision, BulkDeleteable, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected Date |
createTime |
protected ByteArrayRef |
customValuesByteArrayRef |
static boolean |
DEFAULT_EXCLUSIVE |
static int |
DEFAULT_RETRIES |
protected Date |
duedate |
protected Date |
endDate |
protected ByteArrayRef |
exceptionByteArrayRef |
protected String |
exceptionMessage |
protected String |
executionId |
protected String |
id |
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 int |
revision |
protected String |
scopeDefinitionId |
protected String |
scopeId |
protected String |
scopeType |
protected String |
subScopeId |
protected String |
tenantId |
| Constructor and Description |
|---|
AbstractJobEntity() |
public static final boolean DEFAULT_EXCLUSIVE
public static final int DEFAULT_RETRIES
protected String id
protected int revision
protected Date duedate
protected Date createTime
protected String executionId
protected String processInstanceId
protected String processDefinitionId
protected String scopeId
protected String subScopeId
protected String scopeType
protected String scopeDefinitionId
protected boolean isExclusive
protected int retries
protected String jobHandlerType
protected String jobHandlerConfiguration
protected int maxIterations
protected String repeat
protected Date endDate
protected final ByteArrayRef exceptionByteArrayRef
protected final ByteArrayRef customValuesByteArrayRef
protected String exceptionMessage
protected String tenantId
protected String jobType
public void setExecution(ExecutionEntity execution)
public String getExceptionStacktrace()
public void setExceptionStacktrace(String exception)
public String getCustomValues()
getCustomValues in interface org.flowable.job.api.JobInfopublic void setCustomValues(String customValues)
public Object getPersistentState()
PersistentObjectgetPersistentState in interface PersistentObjectpublic int getRevisionNext()
getRevisionNext in interface HasRevisionpublic String getId()
getId in interface PersistentObjectgetId in interface org.flowable.job.api.JobInfopublic void setId(String id)
setId in interface PersistentObjectpublic int getRevision()
getRevision in interface HasRevisionpublic void setRevision(int revision)
setRevision in interface HasRevisionpublic Date getDuedate()
getDuedate in interface org.flowable.job.api.Jobpublic void setDuedate(Date duedate)
public Date getCreateTime()
getCreateTime in interface org.flowable.job.api.Jobpublic void setCreateTime(Date createTime)
public String getExecutionId()
getExecutionId in interface org.flowable.job.api.Jobpublic void setExecutionId(String executionId)
public int getRetries()
getRetries in interface org.flowable.job.api.JobInfopublic void setRetries(int retries)
public String getProcessInstanceId()
getProcessInstanceId in interface org.flowable.job.api.Jobpublic void setProcessInstanceId(String processInstanceId)
public boolean isExclusive()
isExclusive in interface org.flowable.job.api.Jobpublic void setExclusive(boolean isExclusive)
public String getProcessDefinitionId()
getProcessDefinitionId in interface org.flowable.job.api.Jobpublic void setProcessDefinitionId(String processDefinitionId)
public String getScopeId()
getScopeId in interface org.flowable.job.api.Jobpublic void setScopeId(String scopeId)
public String getSubScopeId()
getSubScopeId in interface org.flowable.job.api.Jobpublic void setSubScopeId(String subScopeId)
public String getScopeType()
getScopeType in interface org.flowable.job.api.Jobpublic void setScopeType(String scopeType)
public String getScopeDefinitionId()
getScopeDefinitionId in interface org.flowable.job.api.Jobpublic void setScopeDefinitionId(String scopeDefinitionId)
public String getJobHandlerType()
getJobHandlerType in interface org.flowable.job.api.JobInfopublic void setJobHandlerType(String jobHandlerType)
public String getJobHandlerConfiguration()
getJobHandlerConfiguration in interface org.flowable.job.api.JobInfopublic void setJobHandlerConfiguration(String jobHandlerConfiguration)
public String getRepeat()
public void setRepeat(String repeat)
public Date getEndDate()
public void setEndDate(Date endDate)
public String getExceptionMessage()
getExceptionMessage in interface org.flowable.job.api.JobInfopublic void setExceptionMessage(String exceptionMessage)
public String getJobType()
getJobType in interface org.flowable.job.api.Jobpublic void setJobType(String jobType)
public String getTenantId()
getTenantId in interface org.flowable.job.api.JobInfopublic void setTenantId(String tenantId)
Copyright © 2018 Flowable. All rights reserved.