Class NotificationTask

All Implemented Interfaces:
Identifiable, Serializable

public class NotificationTask extends Task
The class that represents a job task in a process flow.
See Also:
  • Constructor Details

    • NotificationTask

      public NotificationTask(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, Set<Principal> recipients, String subject, NotificationTaskSetup.MessagePriority priority, String message)
      It is not intended or recommended that the consumer of this API construct these objects. They should only deal with the elements returned by the API.
      Parameters:
      typeId - The object type identifier of the element.
      id - The unique identifier of the element.
      elementId - The identifier of the element as it appears in the process flow 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 that contains the element.
      processFlowId - The process flow identifier that contains the element.
      created - The date on which the element was created.
      started - The date on which the element was started.
      taskStatus - The status of the element.
      attributes - The extended attributes of the element.
      recipients - The recipients of the notification.
      subject - The subject of the notification.
      priority - The priority of the notification.
      message - The message text of the notification.
  • Method Details

    • getRecipients

      public Set<Principal> getRecipients()
      Gets the recipients of the notification task.
      Returns:
      The recipients.
    • getSubject

      public String getSubject()
      Gets the subject of the notification task.
      Returns:
      The subject.
    • getMessage

      public String getMessage()
      Gets the message of the notification task.
      Returns:
      The message.
    • getPriority

      Gets the message priority of the notification task.
      Returns:
      The message priority.