Class NotificationTaskSetup

All Implemented Interfaces:
Serializable

public class NotificationTaskSetup extends TaskSetup
The class that represents the setup information for notification task elements in a process flow.
See Also:
  • Constructor Details

    • NotificationTaskSetup

      public NotificationTaskSetup(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 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

    • getRecipients

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

      public void setRecipients(Set<Principal> recipients)
      Sets the recipients for the notification task.
      Parameters:
      recipients - The recipients.
    • getSubject

      public String getSubject()
      Gets the subject for the notification task.
      Returns:
      The subject.
    • setSubject

      public void setSubject(String subject)
      Sets the subject for the notification task.
      Parameters:
      subject - The subject.
    • getMessage

      public String getMessage()
      Gets the message text for the notification task.
      Returns:
      The message.
    • setMessage

      public void setMessage(String message)
      Sets the message text for the notification task.
      Parameters:
      message - The message.
    • getPriority

      Gets the priority for the notification task.
      Returns:
      The priority.
    • setPriority

      public void setPriority(NotificationTaskSetup.MessagePriority priority)
      Sets the priority for the notification task.
      Parameters:
      priority - The priority.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class TaskSetup
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class TaskSetup