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)
It is not intended or recommended that the consumer of this API construct these objects.
|
Modifier and Type | Method and Description |
---|---|
float |
getActualHours() |
Date |
getAssigned() |
String |
getAssignee()
Gets the userid of the user assigned to this user task.
|
Task.Complexity |
getComplexity()
Gets the complexity of this user task.
|
Date |
getDueDate()
Gets the due date of this user task.
|
Task.Priority |
getPriority()
Gets the priority of this user task.
|
void |
setActualHours(float actualHours) |
void |
setAssignee(String assignee)
Sets the userid of the user assigned to this user task.
|
void |
setComplexity(Task.Complexity complexity) |
void |
setDueDate(Date dueDate)
Sets the due date of this user task.
|
void |
setPriority(Task.Priority priority)
Gets the priority of this user task.
|
getAttributes, getStarted, getTaskStatus, setAttributes
equals, getCreated, getDescription, getElementId, getFlowStatus, getName, getProcessFlowId, getType, hashCode, setName, toString
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)
typeId
- the object type id of this element.id
- the unique id of this element.elementId
- the id of the element as it appears in the process definition.name
- the name of the element.description
- the description of the element.type
- the type of the element.flowStatus
- the status of the process flow containing this element.processFlowId
- the id of the process flow containing this element.created
- the date this element was created.started
- the date this element was started.taskStatus
- the status of this element.attributes
- the extended attributes of the task.public Date getDueDate()
public void setDueDate(Date dueDate)
dueDate
- The dueDate to set.public Task.Complexity getComplexity()
public void setComplexity(Task.Complexity complexity)
complexity
- The complexity to set.public Task.Priority getPriority()
public void setPriority(Task.Priority priority)
priority
- The priority to set.public String getAssignee()
public void setAssignee(String assignee)
assignee
- The userid of the user assigned to this task.public Date getAssigned()
public float getActualHours()
public void setActualHours(float actualHours)
actualHours
- the actualHours to setCopyright (c) 2019, SAS Institute Inc., Cary, NC, USA