Class ProjectReviewTaskPayload
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.ProjectReviewTaskPayload
- All Implemented Interfaces:
NotificationPayload,Serializable
Notification Template payload representing a pre-deploy review task for a project deployment
request.
- 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
ConstructorsConstructorDescriptionProjectReviewTaskPayload(HumanTaskDataObject pHumanTaskDataObject, NotificationEventTypeEnum pNotificationEventTypeEnum) Creates the notification payload -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRecipients(String pAttributeGroupName) Returns a list of email attachments pertaining to the event which has occurred.Returns the workflow request linked to this review task.Returns the internal identifier of the linked workflow request.Methods inherited from class flexagon.fd.model2.notification.payload.BaseHumanTaskPayload
getActionBy, getActionByFullName, getActionOn, getChangeLogsFromSnapshot, getExternalSystemId, getExternalTicket, getGroupId, getHumanTaskIdentityUuid, getId, getPipelineStageGateExecId, getPipelineStageStepExecId, getReleaseDefinitionId, getStatus, getStatusCode, getStatusEnumMethods 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
-
ProjectReviewTaskPayload
public ProjectReviewTaskPayload(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 linked to this review task.- Returns:
- The workflow request linked to this review task.
- Throws:
SQLException- If the information cannot be retrieved from the database.
-
getWorkflowRequestId
Description copied from class:BaseHumanTaskPayloadReturns the internal identifier of the linked workflow request. Null if task is not for a workflow request.- Overrides:
getWorkflowRequestIdin classBaseHumanTaskPayload- Returns:
- The internal identifier of the linked workflow request.
-
getAttachments
Description copied from interface:NotificationPayloadReturns a list of email attachments pertaining to the event which has occurred.- Specified by:
getAttachmentsin interfaceNotificationPayload- Overrides:
getAttachmentsin classBaseNotificationPayload- Returns:
- A list of email attachements.
- Throws:
SQLException
-