Class NotificationTaskSetup
java.lang.Object
com.sas.lsaf.workflow.processflow.setup.ElementSetup
com.sas.lsaf.workflow.processflow.setup.TaskSetup
com.sas.lsaf.workflow.processflow.setup.NotificationTaskSetup
- All Implemented Interfaces:
Serializable
The class that represents the setup information for notification task elements in a process flow.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe values for the priority of the message sent by the task. -
Field Summary
Fields inherited from class com.sas.lsaf.workflow.processflow.setup.ElementSetup
description, name -
Constructor Summary
ConstructorsConstructorDescriptionNotificationTaskSetup(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. -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the message text for the notification task.Gets the priority for the notification task.Gets the recipients for the notification task.Gets the subject for the notification task.inthashCode()voidsetMessage(String message) Sets the message text for the notification task.voidSets the priority for the notification task.voidsetRecipients(Set<Principal> recipients) Sets the recipients for the notification task.voidsetSubject(String subject) Sets the subject for the notification task.Methods inherited from class com.sas.lsaf.workflow.processflow.setup.TaskSetup
getAttributes, setAttributes, setDescription, setName, toStringMethods inherited from class com.sas.lsaf.workflow.processflow.setup.ElementSetup
getDescription, getElementId, getName, getProcessFlowIdentifier, getType
-
Constructor Details
-
NotificationTaskSetup
public 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. They should only deal with the elements returned by the API.- Parameters:
name- The name of the element.description- The description of the element.elementId- The identifier of the element as it appears in the process flow definition.type- The type of the element.processFlowIdentifier- The identifier of the process flow that contains the element.
-
-
Method Details
-
getRecipients
Gets the recipients for the notification task.- Returns:
- The recipients.
-
setRecipients
Sets the recipients for the notification task.- Parameters:
recipients- The recipients.
-
getSubject
Gets the subject for the notification task.- Returns:
- The subject.
-
setSubject
Sets the subject for the notification task.- Parameters:
subject- The subject.
-
getMessage
Gets the message text for the notification task.- Returns:
- The message.
-
setMessage
Sets the message text for the notification task.- Parameters:
message- The message.
-
getPriority
Gets the priority for the notification task.- Returns:
- The priority.
-
setPriority
Sets the priority for the notification task.- Parameters:
priority- The priority.
-
hashCode
public int hashCode() -
equals
-