|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jbpm.env.session.Job<T>
public abstract class Job<T>
Field Summary | |
---|---|
protected long |
dbid
|
protected int |
dbversion
|
protected java.util.Date |
dueDate
date until which the command should not be executed this date is set to the current time It should be modified only for timers Warning: if you modify this, be sure to wake the JobExecutor when the job is supposed to be executed |
protected java.lang.String |
exception
stack trace of the exception that occurred during command execution. |
protected ExecutionImpl |
execution
the execution (if any) for this job |
protected boolean |
isExclusive
specifies if this job can be executed concurrently with other jobs for the same execution. |
protected boolean |
isSuspended
suspended jobs will not execute. |
protected java.util.Date |
lockExpirationTime
the time the lock on this job expires. |
protected java.lang.String |
lockOwner
name of the job executor name that has locked this job. |
protected ExecutionImpl |
processInstance
the process instance |
protected int |
retries
number of attempts left to try. |
Constructor Summary | |
---|---|
Job()
|
|
Job(ExecutionImpl execution)
|
Method Summary | |
---|---|
long |
getDbid()
|
java.util.Date |
getDueDate()
|
java.lang.String |
getException()
|
ExecutionImpl |
getExecution()
|
java.util.Date |
getLockExpirationTime()
|
java.lang.String |
getLockOwner()
|
ExecutionImpl |
getProcessInstance()
|
int |
getRetries()
|
boolean |
isExclusive()
|
boolean |
isSuspended()
|
void |
setDbid(long id)
|
void |
setDueDate(java.util.Date dueDate)
|
void |
setException(java.lang.String exception)
|
void |
setExclusive(boolean isExclusive)
|
void |
setLockExpirationTime(java.util.Date lockExpirationTime)
|
void |
setLockOwner(java.lang.String jobExecutorName)
|
void |
setRetries(int retries)
|
void |
setSuspended(boolean isSuspended)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.jbpm.client.Command |
---|
execute |
Field Detail |
---|
protected long dbid
protected int dbversion
protected java.util.Date dueDate
protected boolean isSuspended
protected boolean isExclusive
protected java.lang.String lockOwner
protected java.util.Date lockExpirationTime
protected java.lang.String exception
protected int retries
protected ExecutionImpl execution
protected ExecutionImpl processInstance
Constructor Detail |
---|
public Job()
public Job(ExecutionImpl execution)
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public long getDbid()
public void setDbid(long id)
public java.lang.String getLockOwner()
public boolean isSuspended()
public java.util.Date getDueDate()
public void setDueDate(java.util.Date dueDate)
public java.lang.String getException()
public int getRetries()
public boolean isExclusive()
public ExecutionImpl getExecution()
public void setException(java.lang.String exception)
public void setExclusive(boolean isExclusive)
public void setLockOwner(java.lang.String jobExecutorName)
public void setRetries(int retries)
public void setSuspended(boolean isSuspended)
public ExecutionImpl getProcessInstance()
public java.util.Date getLockExpirationTime()
public void setLockExpirationTime(java.util.Date lockExpirationTime)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |