public class NotificationTask extends Task
Task.Complexity, Task.Priority, Task.TaskStatus
Element.ElementType
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
String |
getMessage()
Gets the message of the notification task.
|
NotificationTaskSetup.MessagePriority |
getPriority()
Gets the message priority of the notification task.
|
Set<Principal> |
getRecipients()
Gets the recipients of the notification task.
|
String |
getSubject()
Gets the subject of the notification task.
|
getAttributes, getStarted, getTaskStatus, setAttributes
equals, getCreated, getDescription, getElementId, getFlowStatus, getName, getProcessFlowId, getType, hashCode, setName, toString
getId, getTypeId
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)
typeId
- the object type id of this element.id
- the unique id of this element.elementId
- the id of the element as it appears in the process 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 containing this element.processFlowId
- the process flow id containing this element.created
- the date this element was created.started
- the date this element was started.taskStatus
- the status of this element.attributes
- the extended attributes of the element.recipients
- the recipients of this notification.subject
- the subject of this notification.priority
- the priority of this notification.message
- the message text of this notification.public Set<Principal> getRecipients()
public String getSubject()
public String getMessage()
public NotificationTaskSetup.MessagePriority getPriority()
Copyright (c) 2019, SAS Institute Inc., Cary, NC, USA