public class CompletedNotificationTask extends NotificationTask implements CompletedTask
Task.Complexity, Task.Priority, Task.TaskStatus
Element.ElementType
CompletedTask.TaskCompletedState
DEFAULT_PROCESSFLOW_MESSAGE_PRIORITY
OBJECT_TYPE
Constructor and Description |
---|
CompletedNotificationTask(String identifier,
String elementId,
String name,
String description,
Element.ElementType activityType,
ProcessFlowDescriptor.FlowStatus flowStatus,
ProcessFlowDescriptor processFlow,
Date created,
Date started,
Task.TaskStatus taskStatus,
List<Attribute> attributes,
UserDescriptor completedBy,
Date completed,
String completedStatus,
CompletedTask.TaskCompletedState completedState,
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 |
---|---|
Date |
getCompleted()
Gets the date this completed element was completed
|
UserDescriptor |
getCompletedBy()
Gets the user that completed this element
|
CompletedTask.TaskCompletedState |
getCompletedState() |
String |
getCompletedStatus() |
String |
toString() |
getMessage, getPriority, getRecipients, getSubject
equals, getAttributes, getStarted, getTaskStatus, hashCode, setAttributes
getCreated, getDescription, getElementId, getFlowStatus, getName, getProcessFlow, getType, setDescription, setName
getIdentifier, getObjectType, setIdentifier, setObjectType
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getAttributes, getStarted
getCreated, getDescription, getElementId, getFlowStatus, getName, getType
getIdentifier, getObjectType
public CompletedNotificationTask(String identifier, String elementId, String name, String description, Element.ElementType activityType, ProcessFlowDescriptor.FlowStatus flowStatus, ProcessFlowDescriptor processFlow, Date created, Date started, Task.TaskStatus taskStatus, List<Attribute> attributes, UserDescriptor completedBy, Date completed, String completedStatus, CompletedTask.TaskCompletedState completedState, 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.getCompletedElementsByProcessFlow(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 taskflowStatus
- The status of the process flowprocessFlow
- 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 taskcompletedBy
- The user who completed this taskcompleted
- The date this task was completedcompletedStatus
- The descriptive completion status of the taskcompletedState
- The completed state of the task.recipients
- The recipients of this notificationsubject
- The subject of this notificationpriority
- The priority of this notificationmessage
- The message text of this notificationpublic UserDescriptor getCompletedBy()
CompletedElement
getCompletedBy
in interface CompletedElement
public String getCompletedStatus()
public CompletedTask.TaskCompletedState getCompletedState()
public Date getCompleted()
CompletedElement
getCompleted
in interface CompletedElement
public String toString()
toString
in class NotificationTask
Copyright (c) 2017, SAS Institute Inc., Cary, NC, USA