public class UserTaskSetup extends TaskSetup
description, name
Constructor and Description |
---|
UserTaskSetup(String name,
String description,
String elementId,
Element.ElementType type,
String processFlowIdentifier)
It is not intended or recommended that the consumer of this API construct these objects.
|
Modifier and Type | Method and Description |
---|---|
String |
getAssignee()
Gets the userid of the user assigned to this user task.
|
Set<Principal> |
getCandidates()
Gets the candidates for this user task.
|
Task.Complexity |
getComplexity()
Gets the complexity of this user task.
|
Date |
getDueDate()
Gets the due date for this user task.
|
Task.Priority |
getPriority()
Gets the priority of this user task.
|
void |
setAssignee(String assignee)
Sets the userid of the user to be assigned to this user task.
|
void |
setCandidates(Set<Principal> candidates)
Sets the candidates for this user task.
|
void |
setComplexity(Task.Complexity complexity)
Sets the complexity of this user task.
|
void |
setDueDate(Date dueDate)
Sets the due date for this user task.
|
void |
setPriority(Task.Priority priority)
Sets the complexity of this user task.
|
equals, getAttributes, hashCode, setAttributes, setDescription, setName, toString
getDescription, getElementId, getName, getProcessFlowIdentifier, getType
public UserTaskSetup(String name, String description, String elementId, Element.ElementType type, String processFlowIdentifier)
name
- the name of the element.description
- the description of the element.elementId
- the id of the element as it appears in the process definition.type
- the type of the element.processFlowIdentifier
- the id of the process flow containing this element.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 assignee to set.public Set<Principal> getCandidates()
Copyright (c) 2019, SAS Institute Inc., Cary, NC, USA