Package com.orchestranetworks.workflow
Class UserTask.WorkItem.State
java.lang.Object
com.orchestranetworks.workflow.UserTask.WorkItem.State
- Enclosing interface:
- UserTask.WorkItem
- Since:
- 5.2.3
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final UserTask.WorkItem.State
static final UserTask.WorkItem.State
static final UserTask.WorkItem.State
static final UserTask.WorkItem.State
static final UserTask.WorkItem.State
-
Method Summary
Modifier and TypeMethodDescriptiongetLabel()
boolean
Returnstrue
if the work item is allocated to aUserReference
, but has not yet been started.boolean
Returnstrue
if the work item has been completed, which means theUserReference
has finished its task and saved their decision.boolean
isError()
Returnstrue
if the work item is in error.boolean
Returnstrue
when the work item is offered to aRole
.boolean
Returnstrue
if the work item has been started by theUserReference
to which it is allocated.
-
Field Details
-
OFFERED
-
ALLOCATED
-
STARTED
-
COMPLETED
-
ERROR
-
-
Method Details
-
getLabel
-
isOffered
public boolean isOffered()Returnstrue
when the work item is offered to aRole
. In this state, the work item can be taken or allocated to aUserReference
member of the specifiedRole
. -
isAllocated
public boolean isAllocated()Returnstrue
if the work item is allocated to aUserReference
, but has not yet been started. -
isStarted
public boolean isStarted()Returnstrue
if the work item has been started by theUserReference
to which it is allocated. -
isCompleted
public boolean isCompleted()Returnstrue
if the work item has been completed, which means theUserReference
has finished its task and saved their decision. -
isError
public boolean isError()Returnstrue
if the work item is in error.
-