public class CompletedUserTask extends UserTask implements CompletedTask
Task.Complexity, Task.Priority, Task.TaskStatus
Element.ElementType
CompletedTask.TaskCompletedState
OBJECT_TYPE
Constructor and Description |
---|
CompletedUserTask(String identifier,
String elementId,
String name,
String description,
Element.ElementType activityType,
ProcessFlowDescriptor.FlowStatus flowStatus,
ProcessFlowDescriptor processFlow,
Date created,
Date started,
Task.TaskStatus taskStatus,
List<Attribute> attributes,
UserDescriptor completedBy,
Date completed,
String completionComment,
float totalActualHours)
Initializing constructor which sets the values of all variables.
|
Modifier and Type | Method and Description |
---|---|
Date |
getCompleted()
Gets the date this completed element was completed
|
UserDescriptor |
getCompletedBy()
Gets the user that completed this element
|
String |
getCompletionComment() |
float |
getTotalActualHours() |
getActualHours, getAssigned, getAssignee, getComplexity, getDueDate, getPriority, setActualHours, setAssigned, setAssignee, setComplexity, setDueDate, setPriority, toString
equals, getAttributes, getStarted, getTaskStatus, hashCode, setAttributes
getCreated, getDescription, getElementId, getFlowStatus, getName, getProcessFlow, getType, setDescription, setName
getIdentifier, getObjectType, setIdentifier, setObjectType
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getAttributes, getStarted
getCreated, getDescription, getElementId, getFlowStatus, getName, getType
getIdentifier, getObjectType
public CompletedUserTask(String identifier, String elementId, String name, String description, Element.ElementType activityType, ProcessFlowDescriptor.FlowStatus flowStatus, ProcessFlowDescriptor processFlow, Date created, Date started, Task.TaskStatus taskStatus, List<Attribute> attributes, UserDescriptor completedBy, Date completed, String completionComment, float totalActualHours)
It is not intended or recommended that the consumer of the API construct these objects. They should only be
retrieved from service calls such as
ProcessFlowService.getCompletedElementsByProcessFlow(String)
.
identifier
- The identifier of the taskelementId
- The id of the task as it appears in the process definitionname
- The name of the taskdescription
- The description of the taskactivityType
- The type of the taskflowStatus
- The status of the process flowprocessFlow
- The process flow that contains this taskcreated
- The date this task was createdstarted
- The date this task was startedtaskStatus
- The status of the taskattributes
- The extended attributes of the taskcompletedBy
- The user who completed this taskcompleted
- The date this task was completedcompletionComment
- The comment provided at completion of this tasktotalActualHours
- The total actual hours for this taskpublic UserDescriptor getCompletedBy()
CompletedElement
getCompletedBy
in interface CompletedElement
public float getTotalActualHours()
public String getCompletionComment()
public Date getCompleted()
CompletedElement
getCompleted
in interface CompletedElement
Copyright (c) 2017, SAS Institute Inc., Cary, NC, USA