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.Statestatic final UserTask.WorkItem.Statestatic final UserTask.WorkItem.Statestatic final UserTask.WorkItem.Statestatic final UserTask.WorkItem.State -
Method Summary
Modifier and TypeMethodDescriptiongetLabel()booleanReturnstrueif the work item is allocated to aUserReference, but has not yet been started.booleanReturnstrueif the work item has been completed, which means theUserReferencehas finished its task and saved their decision.booleanisError()Returnstrueif the work item is in error.booleanReturnstruewhen the work item is offered to aRole.booleanReturnstrueif the work item has been started by theUserReferenceto which it is allocated.
-
Field Details
-
OFFERED
-
ALLOCATED
-
STARTED
-
COMPLETED
-
ERROR
-
-
Method Details
-
getLabel
-
isOffered
public boolean isOffered()Returnstruewhen the work item is offered to aRole. In this state, the work item can be taken or allocated to aUserReferencemember of the specifiedRole. -
isAllocated
public boolean isAllocated()Returnstrueif the work item is allocated to aUserReference, but has not yet been started. -
isStarted
public boolean isStarted()Returnstrueif the work item has been started by theUserReferenceto which it is allocated. -
isCompleted
public boolean isCompleted()Returnstrueif the work item has been completed, which means theUserReferencehas finished its task and saved their decision. -
isError
public boolean isError()Returnstrueif the work item is in error.
-