Package com.sas.lsaf.workflow.task
Class CompletedUserTask
java.lang.Object
com.sas.lsaf.core.AbstractIdentifiable
com.sas.lsaf.workflow.element.CompletedElement
com.sas.lsaf.workflow.task.CompletedTask
com.sas.lsaf.workflow.task.CompletedUserTask
- All Implemented Interfaces:
Identifiable,Serializable
- Direct Known Subclasses:
CompletedUserTaskDetails
The class that represents a completed user task in a process flow.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.sas.lsaf.workflow.element.CompletedElement
CompletedElement.TaskCompletedState -
Constructor Summary
ConstructorsConstructorDescriptionCompletedUserTask(String typeId, String id, String elementId, String processFlowId, String name, String description, Element.ElementType type, Date created, List<Attribute> attributes, String completedBy, Date completed, CompletedElement.TaskCompletedState completedState, Task.Complexity complexity, Task.Priority priority, Date dueDate, String completionComment, float totalActualHours) It is not intended or recommended that the consumer of this API construct these objects. -
Method Summary
Modifier and TypeMethodDescriptionGets the completion comment for the user task.Gets the complexity of the user task.Gets the due date of the user task.Gets the priority of the user task.floatGets the total actual hours for the user task.toString()Methods inherited from class com.sas.lsaf.workflow.task.CompletedTask
getAttributesMethods inherited from class com.sas.lsaf.workflow.element.CompletedElement
getCompleted, getCompletedBy, getCompletedState, getCreated, getDescription, getElementId, getName, getProcessFlowId, getTypeMethods inherited from class com.sas.lsaf.core.AbstractIdentifiable
equals, getId, getTypeId, hashCode
-
Constructor Details
-
CompletedUserTask
public CompletedUserTask(String typeId, String id, String elementId, String processFlowId, String name, String description, Element.ElementType type, Date created, List<Attribute> attributes, String completedBy, Date completed, CompletedElement.TaskCompletedState completedState, Task.Complexity complexity, Task.Priority priority, Date dueDate, String completionComment, float totalActualHours) It is not intended or recommended that the consumer of this API construct these objects. They should only deal with the completed tasks returned by the API.- Parameters:
typeId- The object type identifier of the task.id- The unique identifier of the task.elementId- The identifier of the task as it appears in the process flow definition.processFlowId- The identifier of the process flow that contains the element.name- The name of the task.description- The description of the task.type- The type of the task.created- The date on which the task was created.attributes- The extended attributes of the task.completedBy- The user who completed the task.completed- The date on which the task was completed.completedState- The completed state of the elementcomplexity- The complexity of the user task.priority- The priority of the user task.dueDate- The due date of the user task.completionComment- The comment that was specified at the completion of the user task.totalActualHours- The total actual hours for the user task.
-
-
Method Details
-
getTotalActualHours
public float getTotalActualHours()Gets the total actual hours for the user task.- Returns:
- The total actual hours.
-
getCompletionComment
Gets the completion comment for the user task.- Returns:
- The completion comment for the user task.
-
getDueDate
Gets the due date of the user task.- Returns:
- The due date.
-
getComplexity
Gets the complexity of the user task.- Returns:
- The complexity.
-
getPriority
Gets the priority of the user task.- Returns:
- The priority.
-
toString
- Overrides:
toStringin classCompletedElement
-