public abstract class AbstractJobEntity extends Object implements Job, PersistentObject, HasRevision, BulkDeleteable, Serializable
| Modifier and Type | Field and Description |
|---|---|
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 |
tenantId |
JOB_TYPE_MESSAGE, JOB_TYPE_TIMER| 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 String executionId
protected String processInstanceId
protected String processDefinitionId
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 String exceptionMessage
protected String tenantId
protected String jobType
public void setExecution(ExecutionEntity execution)
public String getExceptionStacktrace()
public void setExceptionStacktrace(String exception)
public Object getPersistentState()
PersistentObjectgetPersistentState in interface PersistentObjectpublic int getRevisionNext()
getRevisionNext in interface HasRevisionpublic String getId()
getId in interface JobgetId in interface PersistentObjectpublic 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 Jobpublic void setDuedate(Date duedate)
public String getExecutionId()
getExecutionId in interface Jobpublic void setExecutionId(String executionId)
public int getRetries()
getRetries in interface Jobpublic void setRetries(int retries)
public String getProcessInstanceId()
getProcessInstanceId in interface Jobpublic void setProcessInstanceId(String processInstanceId)
public boolean isExclusive()
isExclusive in interface Jobpublic void setExclusive(boolean isExclusive)
public String getProcessDefinitionId()
getProcessDefinitionId in interface Jobpublic void setProcessDefinitionId(String processDefinitionId)
public String getJobHandlerType()
getJobHandlerType in interface Jobpublic void setJobHandlerType(String jobHandlerType)
public String getJobHandlerConfiguration()
getJobHandlerConfiguration in interface Jobpublic 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 Jobpublic void setExceptionMessage(String exceptionMessage)
public String getJobType()
getJobType in interface Jobpublic void setJobType(String jobType)
public String getTenantId()
getTenantId in interface Jobpublic void setTenantId(String tenantId)
Copyright © 2017 Alfresco. All rights reserved.