Class UserTaskSetup

All Implemented Interfaces:
Serializable

public class UserTaskSetup extends TaskSetup
The class that specifies the setup information for the user task elements that are in a process flow.
See Also:
  • 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

      public Date getDueDate()
      Gets the due date for the user task.
      Returns:
      The due date.
    • setDueDate

      public void setDueDate(Date dueDate)
      Sets the due date for the user task.
      Parameters:
      dueDate - The due date.
    • getComplexity

      public Task.Complexity getComplexity()
      Gets the complexity of the user task.
      Returns:
      The complexity.
    • setComplexity

      public void setComplexity(Task.Complexity complexity)
      Sets the complexity of the user task.
      Parameters:
      complexity - The complexity.
    • getPriority

      public Task.Priority getPriority()
      Gets the priority of the user task.
      Returns:
      The priority.
    • setPriority

      public void setPriority(Task.Priority priority)
      Sets the complexity of the user task.
      Parameters:
      priority - The priority.
    • getAssignee

      public String getAssignee()
      Gets the identifier of the user who is assigned to the user task.
      Returns:
      The assignee.
    • setAssignee

      public void setAssignee(String assignee)
      Sets the identifier of the user to assign to the user task.
      Parameters:
      assignee - The assignee.
    • getCandidates

      public Set<Principal> getCandidates()
      Gets the candidates for the user task.
      Returns:
      The candidates.
    • setCandidates

      public void setCandidates(Set<Principal> candidates)
      Sets the candidates for the user task.
      Parameters:
      candidates - The candidates.