|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.lang.Objectorg.activiti.engine.impl.persistence.entity.JobEntity
public abstract class JobEntity
Stub of the common parts of a Job. You will normally work with a subclass of
JobEntity, such as TimerEntity
or MessageEntity
.
字段摘要 | |
---|---|
static boolean |
DEFAULT_EXCLUSIVE
|
static int |
DEFAULT_RETRIES
|
protected Date |
duedate
|
protected ByteArrayRef |
exceptionByteArrayRef
|
protected String |
exceptionMessage
|
protected String |
executionId
|
protected String |
id
|
protected boolean |
isExclusive
|
protected String |
jobHandlerConfiguration
|
protected String |
jobHandlerType
|
protected Date |
lockExpirationTime
|
protected String |
lockOwner
|
protected String |
processDefinitionId
|
protected String |
processInstanceId
|
protected int |
retries
|
protected int |
revision
|
构造方法摘要 | |
---|---|
JobEntity()
|
方法摘要 | |
---|---|
void |
delete()
|
void |
execute(CommandContext commandContext)
|
Date |
getDuedate()
Returns the date on which this job is supposed to be processed. |
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 |
getId()
Returns the unique identifier for this job. |
String |
getJobHandlerConfiguration()
|
String |
getJobHandlerType()
|
Date |
getLockExpirationTime()
|
String |
getLockOwner()
|
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. |
int |
getRetries()
Returns the number of retries this job has left. |
int |
getRevision()
|
int |
getRevisionNext()
|
void |
insert()
|
boolean |
isExclusive()
|
void |
setDuedate(Date duedate)
|
void |
setExceptionMessage(String exceptionMessage)
|
void |
setExceptionStacktrace(String exception)
|
void |
setExclusive(boolean isExclusive)
|
void |
setExecution(ExecutionEntity execution)
|
void |
setExecutionId(String executionId)
|
void |
setId(String id)
|
void |
setJobHandlerConfiguration(String jobHandlerConfiguration)
|
void |
setJobHandlerType(String jobHandlerType)
|
void |
setLockExpirationTime(Date claimedUntil)
|
void |
setLockOwner(String claimedBy)
|
void |
setProcessDefinitionId(String processDefinitionId)
|
void |
setProcessInstanceId(String processInstanceId)
|
void |
setRetries(int retries)
|
void |
setRevision(int revision)
|
String |
toString()
|
从类 java.lang.Object 继承的方法 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
字段详细信息 |
---|
public static final boolean DEFAULT_EXCLUSIVE
public static final int DEFAULT_RETRIES
protected String id
protected int revision
protected Date duedate
protected String lockOwner
protected Date lockExpirationTime
protected String executionId
protected String processInstanceId
protected String processDefinitionId
protected boolean isExclusive
protected int retries
protected String jobHandlerType
protected String jobHandlerConfiguration
protected final ByteArrayRef exceptionByteArrayRef
protected String exceptionMessage
构造方法详细信息 |
---|
public JobEntity()
方法详细信息 |
---|
public void execute(CommandContext commandContext)
public void insert()
public void delete()
public void setExecution(ExecutionEntity execution)
public String getExceptionStacktrace()
public void setExceptionStacktrace(String exception)
public Object getPersistentState()
PersistentObject
复制的描述
PersistentObject
中的 getPersistentState
public int getRevisionNext()
HasRevision
中的 getRevisionNext
public String getId()
Job
复制的描述
PersistentObject
中的 getId
Job
中的 getId
public void setId(String id)
PersistentObject
中的 setId
public int getRevision()
HasRevision
中的 getRevision
public void setRevision(int revision)
HasRevision
中的 setRevision
public Date getDuedate()
Job
复制的描述
Job
中的 getDuedate
public void setDuedate(Date duedate)
public String getExecutionId()
Job
复制的描述
Job
中的 getExecutionId
public void setExecutionId(String executionId)
public int getRetries()
Job
复制的描述
Job
中的 getRetries
public void setRetries(int retries)
public String getLockOwner()
public void setLockOwner(String claimedBy)
public Date getLockExpirationTime()
public void setLockExpirationTime(Date claimedUntil)
public String getProcessInstanceId()
Job
复制的描述
Job
中的 getProcessInstanceId
public void setProcessInstanceId(String processInstanceId)
public boolean isExclusive()
public void setExclusive(boolean isExclusive)
public String getProcessDefinitionId()
Job
复制的描述
Job
中的 getProcessDefinitionId
public void setProcessDefinitionId(String processDefinitionId)
public String getJobHandlerType()
public void setJobHandlerType(String jobHandlerType)
public String getJobHandlerConfiguration()
public void setJobHandlerConfiguration(String jobHandlerConfiguration)
public String getExceptionMessage()
Job
复制的描述ManagementService.getJobExceptionStacktrace(String)
Job
中的 getExceptionMessage
public void setExceptionMessage(String exceptionMessage)
public String toString()
Object
中的 toString
|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |