Class ProjectApprovalTaskPayload
java.lang.Object
flexagon.ff.common.core.pojos.BasePOJO
flexagon.fd.model2.notification.payload.BaseNotificationPayload
flexagon.fd.model2.notification.payload.BaseHumanTaskPayload
flexagon.fd.model2.notification.payload.ProjectApprovalTaskPayload
- All Implemented Interfaces:
NotificationPayload,Serializable
Notification Template payload representing a project approval task.
- See Also:
-
Field Summary
Fields inherited from class flexagon.fd.model2.notification.payload.BaseHumanTaskPayload
mHumanTaskDataObjectFields inherited from class flexagon.fd.model2.notification.payload.BaseNotificationPayload
mNotificationEventTypeEnum, mPipelineAttachments, mPipelineNotesFields inherited from interface flexagon.fd.model2.notification.payload.NotificationPayload
DATE_FORMAT -
Constructor Summary
ConstructorsConstructorDescriptionProjectApprovalTaskPayload(HumanTaskDataObject pHumanTaskDataObject, NotificationEventTypeEnum pNotificationEventTypeEnum) Creates the notification payload -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRecipients(String pAttributeGroupName) Returns the list of all available email attachments for this task.Returns the workflow request associated to this task.Methods inherited from class flexagon.fd.model2.notification.payload.BaseHumanTaskPayload
getActionBy, getActionByFullName, getActionOn, getChangeLogsFromSnapshot, getExternalSystemId, getExternalTicket, getGroupId, getHumanTaskIdentityUuid, getId, getPipelineStageGateExecId, getPipelineStageStepExecId, getReleaseDefinitionId, getStatus, getStatusCode, getStatusEnum, getWorkflowRequestIdMethods inherited from class flexagon.fd.model2.notification.payload.BaseNotificationPayload
addAttachment, addAttachment, addAttachment, addAttachment, addRecipientsByCommittersIfEligible, addRecipientsByGroupId, addRecipientsByGroupIdIfEligible, addRecipientsByGroupNameIfEligible, addRecipientsByPipelineRoleMember, addRecipientsByPipelineRoleUserOrEmailMember, addRecipientsBySubscriptions, addRecipientsByUserIdIfEligible, addRecipientsByUserNameIfEligible, addRecipientsForPipelineStepExecFailure, evaluatePipelineRoleScript, getApprovalGateRoleByGateId, getApprovalTaskUrlPath, getFolderWithHierarchy, getHumanTaskUrlPath, getInputFieldsForStep, getManualStepRoleByStepId, getPipelineRoleScriptForGate, getPipelineRoleScriptForStep, getPipelineStageExecutionSnapshotQueryResultRow, getRecipients, getUserFullName, hasAttachments, isGroupMemberOfPipelineRole, isSendLogAttachments, isShowNotesAndSendAttachments, populatePipelineAttachmentsAndNotes, sendLogAttachments, showNotesAndSendAttachments, showTextForMissingUrlSetup, toNotifScmCommits, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface flexagon.fd.model2.notification.payload.NotificationPayload
getRecipients, hasAttachments, isImportant
-
Constructor Details
-
ProjectApprovalTaskPayload
public ProjectApprovalTaskPayload(HumanTaskDataObject pHumanTaskDataObject, NotificationEventTypeEnum pNotificationEventTypeEnum) Creates the notification payload- Parameters:
pHumanTaskDataObject- The task data.pAttributeGroupName- The medium settings group name.pMediumEnum- The medium type.pNotificationEventTypeEnum- The event type.
-
-
Method Details
-
addRecipients
-
getProjectWorkflowRequest
Returns the workflow request associated to this task.- Returns:
- The workflow request associated to this task.
- Throws:
SQLException- If the information cannot be retrieved from the database.
-
getAttachments
Returns the list of all available email attachments for this task.- Specified by:
getAttachmentsin interfaceNotificationPayload- Overrides:
getAttachmentsin classBaseNotificationPayload- Returns:
- The list of all available email attachments for this task.
- Throws:
SQLException- If the information cannot be retrieved from the database.
-