public class NotificationTask extends Task
Task.Complexity, Task.Priority, Task.TaskStatus
Element.ElementType
Modifier and Type | Field and Description |
---|---|
static NotificationTaskDefinition.MessagePriority |
DEFAULT_PROCESSFLOW_MESSAGE_PRIORITY |
OBJECT_TYPE
Constructor and Description |
---|
NotificationTask(String identifier,
String elementId,
String name,
String description,
Element.ElementType activityType,
ProcessFlowDescriptor.FlowStatus status,
ProcessFlowDescriptor processFlow,
Date created,
Date started,
Task.TaskStatus taskStatus,
List<Attribute> attributes,
Set<Principal> recipients,
String subject,
NotificationTaskDefinition.MessagePriority priority,
String message)
Initializing constructor which sets the values of all variables.
|
Modifier and Type | Method and Description |
---|---|
String |
getMessage() |
NotificationTaskDefinition.MessagePriority |
getPriority() |
Set<Principal> |
getRecipients() |
String |
getSubject() |
String |
toString() |
equals, getAttributes, getStarted, getTaskStatus, hashCode, setAttributes
getCreated, getDescription, getElementId, getFlowStatus, getName, getProcessFlow, getType, setDescription, setName
getIdentifier, getObjectType, setIdentifier, setObjectType
public static NotificationTaskDefinition.MessagePriority DEFAULT_PROCESSFLOW_MESSAGE_PRIORITY
public NotificationTask(String identifier, String elementId, String name, String description, Element.ElementType activityType, ProcessFlowDescriptor.FlowStatus status, ProcessFlowDescriptor processFlow, Date created, Date started, Task.TaskStatus taskStatus, List<Attribute> attributes, Set<Principal> recipients, String subject, NotificationTaskDefinition.MessagePriority priority, String message)
It is not intended or recommended that the consumer of the API construct these objects. They should only be
retrieved from service calls such as
ProcessFlowService.getCurrentElementsByProcessFlow(String)
.
identifier
- The identifier of the taskelementId
- The id of the task as it appears in the process definitionname
- The name of the taskdescription
- The description of the taskactivityType
- The type of the taskstatus
- The status of the taskprocessFlow
- The process flow that contains this taskcreated
- The date this task was createdstarted
- The date this task was startedtaskStatus
- The status of the taskattributes
- The extended attributes of the taskrecipients
- The recipients of this notificationsubject
- The subject of this notificationpriority
- The priority of this notificationmessage
- The message text of this notificationpublic String getSubject()
public String getMessage()
public NotificationTaskDefinition.MessagePriority getPriority()
Copyright (c) 2017, SAS Institute Inc., Cary, NC, USA