public abstract class AbstractJobEntityImpl extends AbstractEntity implements AbstractJobEntity, BulkDeleteable, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected Date |
duedate |
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 |
tenantId |
id, isDeleted, isInserted, isUpdated, revisionDEFAULT_EXCLUSIVE, JOB_TYPE_MESSAGE, JOB_TYPE_TIMER, MAX_EXCEPTION_MESSAGE_LENGTH| Constructor and Description |
|---|
AbstractJobEntityImpl() |
| Modifier and Type | Method and Description |
|---|---|
Date |
getDuedate()
Returns the date on which this job is supposed to be processed.
|
Date |
getEndDate() |
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 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()
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 |
getTenantId()
Get the tenant identifier for this job.
|
protected byte[] |
getUtf8Bytes(String str) |
boolean |
isExclusive()
Is the job exclusive?
|
void |
setDuedate(Date duedate) |
void |
setEndDate(Date endDate) |
void |
setExceptionMessage(String exceptionMessage) |
void |
setExceptionStacktrace(String exception) |
void |
setExclusive(boolean isExclusive) |
void |
setExecution(ExecutionEntity execution) |
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 |
setTenantId(String tenantId) |
String |
toString() |
getId, getRevision, getRevisionNext, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setRevision, setUpdatedclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetId, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setUpdatedgetRevision, getRevisionNext, setRevisionprotected Date duedate
protected String executionId
protected String processInstanceId
protected String processDefinitionId
protected boolean isExclusive
protected int retries
protected int maxIterations
protected String repeat
protected Date endDate
protected String jobHandlerType
protected String jobHandlerConfiguration
protected ByteArrayRef exceptionByteArrayRef
protected String exceptionMessage
protected String tenantId
protected String jobType
public Object getPersistentState()
EntitygetPersistentState in interface Entitypublic void setExecution(ExecutionEntity execution)
setExecution in interface AbstractJobEntitypublic Date getDuedate()
JobgetDuedate in interface Jobpublic void setDuedate(Date duedate)
setDuedate in interface AbstractJobEntitypublic String getExecutionId()
JobgetExecutionId in interface Jobpublic void setExecutionId(String executionId)
setExecutionId in interface AbstractJobEntitypublic int getRetries()
JobgetRetries in interface Jobpublic void setRetries(int retries)
setRetries in interface AbstractJobEntitypublic String getProcessInstanceId()
JobgetProcessInstanceId in interface Jobpublic void setProcessInstanceId(String processInstanceId)
setProcessInstanceId in interface AbstractJobEntitypublic boolean isExclusive()
JobisExclusive in interface AbstractJobEntityisExclusive in interface Jobpublic void setExclusive(boolean isExclusive)
setExclusive in interface AbstractJobEntitypublic String getProcessDefinitionId()
JobgetProcessDefinitionId in interface Jobpublic void setProcessDefinitionId(String processDefinitionId)
setProcessDefinitionId in interface AbstractJobEntitypublic String getRepeat()
getRepeat in interface AbstractJobEntitypublic void setRepeat(String repeat)
setRepeat in interface AbstractJobEntitypublic Date getEndDate()
getEndDate in interface AbstractJobEntitypublic void setEndDate(Date endDate)
setEndDate in interface AbstractJobEntitypublic int getMaxIterations()
getMaxIterations in interface AbstractJobEntitypublic void setMaxIterations(int maxIterations)
setMaxIterations in interface AbstractJobEntitypublic String getJobHandlerType()
JobgetJobHandlerType in interface AbstractJobEntitygetJobHandlerType in interface Jobpublic void setJobHandlerType(String jobHandlerType)
setJobHandlerType in interface AbstractJobEntitypublic String getJobHandlerConfiguration()
JobgetJobHandlerConfiguration in interface AbstractJobEntitygetJobHandlerConfiguration in interface Jobpublic void setJobHandlerConfiguration(String jobHandlerConfiguration)
setJobHandlerConfiguration in interface AbstractJobEntitypublic String getJobType()
JobgetJobType in interface AbstractJobEntitygetJobType in interface Jobpublic void setJobType(String jobType)
setJobType in interface AbstractJobEntitypublic String getTenantId()
JobgetTenantId in interface Jobpublic void setTenantId(String tenantId)
setTenantId in interface AbstractJobEntitypublic String getExceptionStacktrace()
getExceptionStacktrace in interface AbstractJobEntitypublic void setExceptionStacktrace(String exception)
setExceptionStacktrace in interface AbstractJobEntitypublic String getExceptionMessage()
JobManagementService.getJobExceptionStacktrace(String)getExceptionMessage in interface Jobpublic void setExceptionMessage(String exceptionMessage)
setExceptionMessage in interface AbstractJobEntitypublic ByteArrayRef getExceptionByteArrayRef()
getExceptionByteArrayRef in interface AbstractJobEntityprotected byte[] getUtf8Bytes(String str)
Copyright © 2016 Alfresco. All rights reserved.