Class NotificationTaskSetup

  • All Implemented Interfaces:
    java.io.Serializable

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

      • NotificationTaskSetup

        public NotificationTaskSetup​(java.lang.String name,
                                     java.lang.String description,
                                     java.lang.String elementId,
                                     Element.ElementType type,
                                     java.lang.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 Detail

      • getRecipients

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

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

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

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

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

        public void setMessage​(java.lang.String message)
        Sets the message text for the notification task.
        Parameters:
        message - The message.
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class TaskSetup