public class UserTaskDefinition extends TaskDefinition
OBJECT_TYPE
description, name
Constructor and Description |
---|
UserTaskDefinition(String name,
String description,
String elementId,
Element.ElementType type,
String processFlowIdentifier,
long revision)
Initializing constructor which sets the values of all variables.
|
Modifier and Type | Method and Description |
---|---|
UserDescriptor |
getAssignee()
Gets 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(UserDescriptor assignee)
Sets 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, getObjectType, hashCode, setAttribute, setAttributes, setDescription, setName
getDescription, getElementId, getName, getProcessFlowIdentifier, getRevision, getType, toString
public UserTaskDefinition(String name, String description, String elementId, Element.ElementType type, String processFlowIdentifier, long revision)
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.getElementDefinitions(ProcessFlowContext, String)
.
name
- The name of the element definitiondescription
- The description of the element definitionelementId
- The id of the element definition as it appears in the process definitiontype
- The type of the elementprocessFlowIdentifier
- The identifier of the process flow that contains this elementrevision
- the internal revision numberpublic 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 UserDescriptor getAssignee()
public void setAssignee(UserDescriptor assignee)
assignee
- The assignee to set.public Set<Principal> getCandidates()
Copyright (c) 2017, SAS Institute Inc., Cary, NC, USA