Class PipelineGateApprovalAssignedForUserPayload
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.PipelineGateApprovalAssignedForUserPayload
- All Implemented Interfaces:
NotificationPayload,Serializable
- Direct Known Subclasses:
PipelineGateApprovalAssignedForEmailPayload
- 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
ConstructorsConstructorDescriptionPipelineGateApprovalAssignedForUserPayload(PipelineStageGateExecDataObject pDataObject, NotificationEventTypeEnum pNotificationEventTypeEnum) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRecipients(String pAttributeGroupName) protected voidaddRecipientsByPipelineRoleMemberType(String pMemberType) Returns a list of email attachments pertaining to the event which has occurred.protected PipelineStageGateExecDataObjectgetGate()Returns the display name of this gate's execution status.Returns the gate execution status type name of the task.Returns the gate execution status enum of the task.Returns the UUID for the human task.getId()Returns the internal identifier of the task.getNotes()Returns the internal identifier of the release linked to this task.protected PipelineStageExecutionSnapshotQueryResultRowReturns the notes entered by the approver who approves/rejects the approval task.Methods inherited from class flexagon.fd.model2.notification.payload.BaseHumanTaskPayload
getActionBy, getActionByFullName, getActionOn, getChangeLogsFromSnapshot, getExternalSystemId, getExternalTicket, getGroupId, getPipelineStageGateExecId, getPipelineStageStepExecId, 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
-
PipelineGateApprovalAssignedForUserPayload
public PipelineGateApprovalAssignedForUserPayload(PipelineStageGateExecDataObject pDataObject, NotificationEventTypeEnum pNotificationEventTypeEnum)
-
-
Method Details
-
addRecipients
-
addRecipientsByPipelineRoleMemberType
-
getHumanTaskIdentityUuid
Description copied from class:BaseHumanTaskPayloadReturns the UUID for the human task.- Specified by:
getHumanTaskIdentityUuidin interfaceNotificationPayload- Overrides:
getHumanTaskIdentityUuidin classBaseHumanTaskPayload- Returns:
- The UUID for the human task.
-
getId
Description copied from class:BaseHumanTaskPayloadReturns the internal identifier of the task.- Specified by:
getIdin interfaceNotificationPayload- Overrides:
getIdin classBaseHumanTaskPayload- Returns:
- The internal identifier of the task.
-
getPipelineStageExecInfo
- Throws:
SQLException
-
getGate
- Throws:
SQLException
-
getSnapshot
- Throws:
SQLException
-
getEnvironment
- Throws:
SQLException
-
getDataObject
-
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
-
getNotes
- Throws:
SQLException
-
getStageExecution
- Throws:
SQLException
-
getSnapshotCreatedByFullName
- Throws:
SQLException
-
getSnapshotCreatedByUserAndFullName
- Throws:
SQLException
-
getGateExecutionStatus
Returns the display name of this gate's execution status.- Returns:
- The display name of this gate's execution status.
-
getGateExecutionStatusEnum
Returns the gate execution status enum of the task.- Returns:
- The gate execution status enum of the task.
-
getGateExecutionStatusCode
Returns the gate execution status type name of the task.- Returns:
- The gate execution status type of the task.
-
getReleaseDefinitionId
Description copied from class:BaseHumanTaskPayloadReturns the internal identifier of the release linked to this task. Null if task is not part of a release execution.- Overrides:
getReleaseDefinitionIdin classBaseHumanTaskPayload- Returns:
- The internal identifier of the release linked to this task.
- Throws:
SQLException
-
getTaskNotes
Returns the notes entered by the approver who approves/rejects the approval task.- Returns:
- The notes entered by the approver
-