public class NotificationTaskSetup extends TaskSetup
Modifier and Type | Class and Description |
---|---|
static class |
NotificationTaskSetup.MessagePriority
Provides the priority of the message sent by this 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 this notification task
|
NotificationTaskSetup.MessagePriority |
getPriority()
Gets the priority for this notification task
|
Set<Principal> |
getRecipients()
Sets the recipients for this notification task
|
String |
getSubject()
Gets the subject for this notification task
|
int |
hashCode() |
void |
setMessage(String message)
Sets the message text for this notification task
|
void |
setPriority(NotificationTaskSetup.MessagePriority priority)
Sets the priority for this notification task
|
void |
setRecipients(Set<Principal> recipients)
Sets the recipients for this notification task
|
void |
setSubject(String subject)
Sets the subject for this 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 id of the element as it appears in the process definition.type
- the type of the element.processFlowIdentifier
- the id of the process flow containing this element.public Set<Principal> getRecipients()
public void setRecipients(Set<Principal> recipients)
recipients
- The recipients for this notification taskpublic String getSubject()
public void setSubject(String subject)
subject
- The subject for this notification taskpublic String getMessage()
public void setMessage(String message)
message
- The message text for this notification taskpublic NotificationTaskSetup.MessagePriority getPriority()
public void setPriority(NotificationTaskSetup.MessagePriority priority)
priority
- The priority for this notification task.Copyright (c) 2019, SAS Institute Inc., Cary, NC, USA