public class NotificationTaskSetup extends TaskSetup
Modifier and Type | Class and Description |
---|---|
static class |
NotificationTaskSetup.MessagePriority
The values for the priority of the message sent by the task.
|
description, name
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getMessage()
Gets the message text for the notification task.
|
NotificationTaskSetup.MessagePriority |
getPriority()
Gets the priority for the notification task.
|
Set<Principal> |
getRecipients()
Gets the recipients for the notification task.
|
String |
getSubject()
Gets the subject for the notification task.
|
int |
hashCode() |
void |
setMessage(String message)
Sets the message text for the notification task.
|
void |
setPriority(NotificationTaskSetup.MessagePriority priority)
Sets the priority for the notification task.
|
void |
setRecipients(Set<Principal> recipients)
Sets the recipients for the notification task.
|
void |
setSubject(String subject)
Sets the subject for the notification task.
|
getAttributes, setAttributes, setDescription, setName, toString
getDescription, getElementId, getName, getProcessFlowIdentifier, getType
public NotificationTaskSetup(String name, String description, String elementId, Element.ElementType type, String processFlowIdentifier)
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.public Set<Principal> getRecipients()
public void setRecipients(Set<Principal> recipients)
recipients
- The recipients.public String getSubject()
public void setSubject(String subject)
subject
- The subject.public String getMessage()
public void setMessage(String message)
message
- The message.public NotificationTaskSetup.MessagePriority getPriority()
public void setPriority(NotificationTaskSetup.MessagePriority priority)
priority
- The priority.<i>Copyright (c) 2021, SAS Institute Inc., Cary, NC, USA</i>