Package com.orchestranetworks.workflow
Class UserTask.WorkItem.State
- java.lang.Object
-
- com.orchestranetworks.workflow.UserTask.WorkItem.State
-
- Enclosing interface:
- UserTask.WorkItem
public static final class UserTask.WorkItem.State extends Object
- Since:
- 5.2.3
-
-
Field Summary
Fields Modifier and Type Field Description static UserTask.WorkItem.StateALLOCATEDstatic UserTask.WorkItem.StateCOMPLETEDstatic UserTask.WorkItem.StateERRORstatic UserTask.WorkItem.StateOFFEREDstatic UserTask.WorkItem.StateSTARTED
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserMessagegetLabel()booleanisAllocated()Returnstrueif the work item is allocated to aUserReference, but has not yet been started.booleanisCompleted()Returnstrueif the work item has been completed, which means theUserReferencehas finished its task and saved their decision.booleanisError()Returnstrueif the work item is in error.booleanisOffered()Returnstruewhen the work item is offered to aRole.booleanisStarted()Returnstrueif the work item has been started by theUserReferenceto which it is allocated.
-
-
-
Field Detail
-
OFFERED
public static final UserTask.WorkItem.State OFFERED
-
ALLOCATED
public static final UserTask.WorkItem.State ALLOCATED
-
STARTED
public static final UserTask.WorkItem.State STARTED
-
COMPLETED
public static final UserTask.WorkItem.State COMPLETED
-
ERROR
public static final UserTask.WorkItem.State ERROR
-
-
Method Detail
-
getLabel
public UserMessage 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.
-
-