Interface AbstractJobEntity
-
- All Superinterfaces:
Entity,HasRevision,Job
- All Known Subinterfaces:
DeadLetterJobEntity,JobEntity,SuspendedJobEntity,TimerJobEntity
- All Known Implementing Classes:
AbstractJobEntityImpl,DeadLetterJobEntityImpl,JobEntityImpl,SuspendedJobEntityImpl,TimerJobEntityImpl
@Internal public interface AbstractJobEntity extends Job, Entity, HasRevision
-
-
Field Summary
-
Fields inherited from interface org.activiti.engine.runtime.Job
DEFAULT_EXCLUSIVE, JOB_TYPE_MESSAGE, JOB_TYPE_TIMER, MAX_EXCEPTION_MESSAGE_LENGTH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DategetEndDate()ByteArrayRefgetExceptionByteArrayRef()StringgetExceptionStacktrace()StringgetJobHandlerConfiguration()Get the job configuration.StringgetJobHandlerType()Get the job handler type.StringgetJobType()Get the job type for this job.intgetMaxIterations()StringgetRepeat()booleanisExclusive()Is the job exclusive?voidsetDuedate(Date duedate)voidsetEndDate(Date endDate)voidsetExceptionMessage(String exceptionMessage)voidsetExceptionStacktrace(String exception)voidsetExclusive(boolean isExclusive)voidsetExecution(ExecutionEntity execution)voidsetExecutionId(String executionId)voidsetJobHandlerConfiguration(String jobHandlerConfiguration)voidsetJobHandlerType(String jobHandlerType)voidsetJobType(String jobType)voidsetMaxIterations(int maxIterations)voidsetProcessDefinitionId(String processDefinitionId)voidsetProcessInstanceId(String processInstanceId)voidsetRepeat(String repeat)voidsetRetries(int retries)voidsetTenantId(String tenantId)-
Methods inherited from interface org.activiti.engine.impl.persistence.entity.Entity
getId, getPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setUpdated
-
Methods inherited from interface org.activiti.engine.impl.db.HasRevision
getRevision, getRevisionNext, setRevision
-
Methods inherited from interface org.activiti.engine.runtime.Job
getDuedate, getExceptionMessage, getExecutionId, getId, getProcessDefinitionId, getProcessInstanceId, getRetries, getTenantId
-
-
-
-
Method Detail
-
setExecution
void setExecution(ExecutionEntity execution)
-
setDuedate
void setDuedate(Date duedate)
-
setExecutionId
void setExecutionId(String executionId)
-
setRetries
void setRetries(int retries)
-
setProcessInstanceId
void setProcessInstanceId(String processInstanceId)
-
isExclusive
boolean isExclusive()
Description copied from interface:JobIs the job exclusive?- Specified by:
isExclusivein interfaceJob
-
setExclusive
void setExclusive(boolean isExclusive)
-
setProcessDefinitionId
void setProcessDefinitionId(String processDefinitionId)
-
getJobHandlerType
String getJobHandlerType()
Description copied from interface:JobGet the job handler type.- Specified by:
getJobHandlerTypein interfaceJob
-
setJobHandlerType
void setJobHandlerType(String jobHandlerType)
-
getJobHandlerConfiguration
String getJobHandlerConfiguration()
Description copied from interface:JobGet the job configuration.- Specified by:
getJobHandlerConfigurationin interfaceJob
-
setJobHandlerConfiguration
void setJobHandlerConfiguration(String jobHandlerConfiguration)
-
getJobType
String getJobType()
Description copied from interface:JobGet the job type for this job.- Specified by:
getJobTypein interfaceJob
-
setJobType
void setJobType(String jobType)
-
getRepeat
String getRepeat()
-
setRepeat
void setRepeat(String repeat)
-
getEndDate
Date getEndDate()
-
setEndDate
void setEndDate(Date endDate)
-
getMaxIterations
int getMaxIterations()
-
setMaxIterations
void setMaxIterations(int maxIterations)
-
getExceptionStacktrace
String getExceptionStacktrace()
-
setExceptionStacktrace
void setExceptionStacktrace(String exception)
-
setExceptionMessage
void setExceptionMessage(String exceptionMessage)
-
getExceptionByteArrayRef
ByteArrayRef getExceptionByteArrayRef()
-
setTenantId
void setTenantId(String tenantId)
-
-