public class CompletedNotificationTask extends CompletedTask
CompletedElement.TaskCompletedState
Constructor and Description |
---|
CompletedNotificationTask(String typeId,
String id,
String elementId,
String processFlowId,
String name,
String description,
Element.ElementType type,
Date created,
List<Attribute> attributes,
String completedBy,
Date completed,
String completedStatus,
CompletedElement.TaskCompletedState completedState,
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 |
getCompletedStatus()
Gets the completion status of the task.
|
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
getCompleted, getCompletedBy, getCompletedState, getCreated, getDescription, getElementId, getName, getProcessFlowId, getType, toString
equals, getId, getTypeId, hashCode
public CompletedNotificationTask(String typeId, String id, String elementId, String processFlowId, String name, String description, Element.ElementType type, Date created, List<Attribute> attributes, String completedBy, Date completed, String completedStatus, CompletedElement.TaskCompletedState completedState, Set<Principal> recipients, String subject, NotificationTaskSetup.MessagePriority priority, String message)
typeId
- the object type identifier of the task.id
- the unique identifier of the task.elementId
- the identifier of the task as it appears in the process definition.processFlowId
- the identifier of the process flow that contains the element.name
- the name of the task.description
- the description of the task.type
- the type of the task.created
- the date on which the task was created.attributes
- the extended attributes of the task.completedBy
- the user who completed the task.completed
- the date on which the task was completed.completedStatus
- the completion status of the task.completedState
- the completed state of the task.recipients
- the recipients of the notification.subject
- the subject of the notification.priority
- the priority of the notification.message
- the message text of the notification.public String getCompletedStatus()
public Set<Principal> getRecipients()
public String getSubject()
public String getMessage()
public NotificationTaskSetup.MessagePriority getPriority()
<i>Copyright (c) 2020, SAS Institute Inc., Cary, NC, USA</i>