Class UserTaskSetup
java.lang.Object
com.sas.lsaf.workflow.processflow.setup.ElementSetup
com.sas.lsaf.workflow.processflow.setup.TaskSetup
com.sas.lsaf.workflow.processflow.setup.UserTaskSetup
- All Implemented Interfaces:
Serializable
The class that specifies the setup information for the user task elements that are in a process flow.
- See Also:
-
Field Summary
Fields inherited from class com.sas.lsaf.workflow.processflow.setup.ElementSetup
description, name -
Constructor Summary
ConstructorsConstructorDescriptionUserTaskSetup(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. -
Method Summary
Modifier and TypeMethodDescriptionGets the identifier of the user who is assigned to the user task.Gets the candidates for the user task.Gets the complexity of the user task.Gets the due date for the user task.Gets the priority of the user task.voidsetAssignee(String assignee) Sets the identifier of the user to assign to the user task.voidsetCandidates(Set<Principal> candidates) Sets the candidates for the user task.voidsetComplexity(Task.Complexity complexity) Sets the complexity of the user task.voidsetDueDate(Date dueDate) Sets the due date for the user task.voidsetPriority(Task.Priority priority) Sets the complexity of the user task.Methods inherited from class com.sas.lsaf.workflow.processflow.setup.TaskSetup
equals, getAttributes, hashCode, setAttributes, setDescription, setName, toStringMethods inherited from class com.sas.lsaf.workflow.processflow.setup.ElementSetup
getDescription, getElementId, getName, getProcessFlowIdentifier, getType
-
Constructor Details
-
UserTaskSetup
public 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. They should only deal with the setup elements returned by the API.- Parameters:
name- The name of the element.description- The description of the element.elementId- The identifier of the element as it appears in the process flow definition.type- The type of the element.processFlowIdentifier- The identifier of the process flow that contains the element.
-
-
Method Details
-
getDueDate
Gets the due date for the user task.- Returns:
- The due date.
-
setDueDate
Sets the due date for the user task.- Parameters:
dueDate- The due date.
-
getComplexity
Gets the complexity of the user task.- Returns:
- The complexity.
-
setComplexity
Sets the complexity of the user task.- Parameters:
complexity- The complexity.
-
getPriority
Gets the priority of the user task.- Returns:
- The priority.
-
setPriority
Sets the complexity of the user task.- Parameters:
priority- The priority.
-
getAssignee
Gets the identifier of the user who is assigned to the user task.- Returns:
- The assignee.
-
setAssignee
Sets the identifier of the user to assign to the user task.- Parameters:
assignee- The assignee.
-
getCandidates
Gets the candidates for the user task.- Returns:
- The candidates.
-
setCandidates
Sets the candidates for the user task.- Parameters:
candidates- The candidates.
-