|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jbpm.job.Job
public abstract class Job
| Constructor Summary | |
|---|---|
Job()
|
|
Job(Token token)
|
|
| Method Summary | |
|---|---|
abstract boolean |
execute(JbpmContext jbpmContext)
|
Date |
getAqcuireDate()
Deprecated. call getLockTime() instead |
String |
getConfiguration()
|
Date |
getDueDate()
|
String |
getException()
|
long |
getId()
|
String |
getJobExecutorName()
Deprecated. call getLockOwner() instead |
String |
getLockOwner()
name of the executor that locked this job. |
Date |
getLockTime()
what time the executor locked this job. |
ProcessInstance |
getProcessInstance()
|
int |
getRetries()
|
TaskInstance |
getTaskInstance()
|
Token |
getToken()
|
int |
getVersion()
|
boolean |
isExclusive()
whether this job can be executed concurrently with other jobs for the same process instance. |
boolean |
isSuspended()
|
void |
setConfiguration(String configuration)
|
void |
setDueDate(Date dueDate)
|
void |
setException(String exception)
|
void |
setExclusive(boolean isExclusive)
|
void |
setLockOwner(String lockOwner)
|
void |
setLockTime(Date lockTime)
|
void |
setProcessInstance(ProcessInstance processInstance)
|
void |
setRetries(int retries)
|
void |
setSuspended(boolean isSuspended)
|
void |
setTaskInstance(TaskInstance taskInstance)
|
void |
setToken(Token token)
|
String |
toStringLongFormat()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Job()
public Job(Token token)
| Method Detail |
|---|
public abstract boolean execute(JbpmContext jbpmContext)
throws Exception
Exceptionpublic String toStringLongFormat()
public ProcessInstance getProcessInstance()
public void setProcessInstance(ProcessInstance processInstance)
public Token getToken()
public void setToken(Token token)
public long getId()
public Date getLockTime()
public void setLockTime(Date lockTime)
public Date getAqcuireDate()
getLockTime() instead
public Date getDueDate()
public void setDueDate(Date dueDate)
public String getException()
public void setException(String exception)
public boolean isExclusive()
public void setExclusive(boolean isExclusive)
public String getLockOwner()
public void setLockOwner(String lockOwner)
public String getJobExecutorName()
getLockOwner() instead
public int getRetries()
public void setRetries(int retries)
public TaskInstance getTaskInstance()
public void setTaskInstance(TaskInstance taskInstance)
public String getConfiguration()
public void setConfiguration(String configuration)
public boolean isSuspended()
public void setSuspended(boolean isSuspended)
public int getVersion()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||