public class UserTask extends Task
Task.Complexity, Task.Priority, Task.TaskStatus
Element.ElementType
Constructor and Description |
---|
UserTask(String typeId,
String id,
String elementId,
String name,
String description,
Element.ElementType type,
ProcessFlowDescriptor.FlowStatus flowStatus,
String processFlowId,
Date created,
Date started,
Task.TaskStatus taskStatus,
List<Attribute> attributes,
String assignee,
Date assigned,
Task.Priority priority,
Task.Complexity complexity,
Date dueDate,
float actualHours)
It is not intended or recommended that the consumer of this API construct these objects.
|
Modifier and Type | Method and Description |
---|---|
float |
getActualHours()
Gets the total hours worked on the task by the current assignee since the task was started.
|
Date |
getAssigned()
Gets the date on which the user task was assigned.
|
String |
getAssignee()
Gets the identifier of the user who is assigned to the user task.
|
Task.Complexity |
getComplexity()
Gets the complexity of the user task.
|
Date |
getDueDate()
Gets the due date of the user task.
|
Task.Priority |
getPriority()
Gets the priority of the user task.
|
void |
setActualHours(float actualHours)
Sets the total hours worked on the task by the current assignee since the task was started.
|
void |
setAssignee(String assignee)
Sets the identifier of the user who is assigned to the user task.
|
void |
setComplexity(Task.Complexity complexity)
Sets the complexity of the user task.
|
void |
setDueDate(Date dueDate)
Sets the due date of the user task.
|
void |
setPriority(Task.Priority priority)
Sets the priority of the user task.
|
String |
toString() |
getAttributes, getStarted, getTaskStatus, setAttributes
equals, getCreated, getDescription, getElementId, getFlowStatus, getName, getProcessFlowId, getType, hashCode, setDescription, setName
getId, getTypeId
public UserTask(String typeId, String id, String elementId, String name, String description, Element.ElementType type, ProcessFlowDescriptor.FlowStatus flowStatus, String processFlowId, Date created, Date started, Task.TaskStatus taskStatus, List<Attribute> attributes, String assignee, Date assigned, Task.Priority priority, Task.Complexity complexity, Date dueDate, float actualHours)
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.name
- The name of the task.description
- The description of the task.type
- The type of the task.flowStatus
- The status of the process flow that contains the task.processFlowId
- The identifier of the process flow that contains the task.created
- The date on which the task was created.started
- The date on which the task was started.taskStatus
- The status of the task.attributes
- The extended attributes of the task.assignee
- The userId of the user who is assigned to the user task.assigned
- The date on which the user task was assigned.priority
- The priority of the user task.complexity
- The complexity of the user task.dueDate
- The due date of the user task.actualHours
- The total hours worked on the task by the current assignee since the task was started.public Date getDueDate()
public void setDueDate(Date dueDate)
dueDate
- The due date.public Task.Complexity getComplexity()
public void setComplexity(Task.Complexity complexity)
complexity
- The complexity.public Task.Priority getPriority()
public void setPriority(Task.Priority priority)
priority
- The priority.public String getAssignee()
public void setAssignee(String assignee)
assignee
- The identifier of the user who is assigned to the task.public Date getAssigned()
public float getActualHours()
public void setActualHours(float actualHours)
actualHours
- The actual hours.<i>Copyright (c) 2021, SAS Institute Inc., Cary, NC, USA</i>