|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Task
a runtime task.
In contrast to HistoryTask, a Task only represents the runtime
state of a task and hence it will be deleted after it is completed.
| Field Summary | |
|---|---|
static java.lang.String |
STATE_COMPLETED
task is done |
static java.lang.String |
STATE_OPEN
task is waiting for someone to work on it and completed it |
static java.lang.String |
STATE_SUSPENDED
task doesn't show up in task lists as something is wrong with the related process instance that requires manual intervention first. |
| Method Summary | |
|---|---|
java.lang.String |
getActivityName()
reference to the activity or null if this task is unrelated to an activity |
java.lang.String |
getAssignee()
the person responsible for completion of this task. |
java.util.Date |
getCreateTime()
date and time when this task was created |
java.lang.String |
getDescription()
longer description of this task |
java.util.Date |
getDuedate()
date and time when this task must be completed. |
java.lang.String |
getExecutionId()
reference to the execution or null if this task is unrelated to an execution |
java.lang.String |
getFormResourceName()
name of the resource in the deployment for the form that is associated to this task. |
java.lang.String |
getId()
the unique id for this task that is used as a reference in the service methods |
java.lang.String |
getName()
the short display name of this task. |
int |
getPriority()
the priority of this task. |
java.lang.Integer |
getProgress()
The progress of this task. |
void |
setAssignee(java.lang.String assignee)
update the assignee of this task. |
void |
setDescription(java.lang.String description)
update the longer description of this task. |
void |
setDuedate(java.util.Date duedate)
update the date and time when this task must be completed. |
void |
setName(java.lang.String name)
change the short display name of this tasks. |
void |
setPriority(int priority)
update the priority. |
void |
setProgress(java.lang.Integer progress)
Change the progress of this task. |
| Field Detail |
|---|
static final java.lang.String STATE_OPEN
static final java.lang.String STATE_COMPLETED
static final java.lang.String STATE_SUSPENDED
| Method Detail |
|---|
java.lang.String getId()
java.lang.String getName()
void setName(java.lang.String name)
TaskService.saveTask(Task) afterwards.
java.lang.String getDescription()
void setDescription(java.lang.String description)
TaskService.saveTask(Task) afterwards.
java.lang.String getAssignee()
void setAssignee(java.lang.String assignee)
TaskService.saveTask(Task) afterwards.
java.util.Date getCreateTime()
java.util.Date getDuedate()
void setDuedate(java.util.Date duedate)
TaskService.saveTask(Task) afterwards.
int getPriority()
void setPriority(int priority)
TaskService.saveTask(Task) afterwards.
java.lang.Integer getProgress()
void setProgress(java.lang.Integer progress)
TaskService.saveTask(Task) afterwards.
IMPORTANT: Only values between 0 and 100 are accepted.
Using other values will cause a JbpmException.
java.lang.String getExecutionId()
java.lang.String getActivityName()
java.lang.String getFormResourceName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||