public class PipelineGateApprovalAssignedOrRejectedPayload extends BaseHumanTaskPayload
mHumanTaskDataObjectmNotificationEventTypeEnum, mPipelineAttachments, mPipelineNotesDATE_FORMAT| Constructor and Description |
|---|
PipelineGateApprovalAssignedOrRejectedPayload(HumanTaskDataObject pDataObject,
NotificationEventTypeEnum pNotificationEventTypeEnum)
Creates the notification payload
|
| Modifier and Type | Method and Description |
|---|---|
void |
addRecipients(java.lang.String pAttributeGroupName) |
java.util.List<EmailAttachment> |
getAttachments()
Returns a list of email attachments pertaining to the event which has occurred.
|
NotifEnvironment |
getEnvironment()
Returns the environment data for this task's linked pipeline stage execution.
|
NotifGate |
getGate()
Returns the pipeline gate linked to this task.
|
java.lang.String |
getGateExecutionStatus()
Returns the display name of this gate's execution status.
|
java.lang.String |
getGateExecutionStatusCode()
Returns the gate execution status type name of the task.
|
ExecutionUnitStatus |
getGateExecutionStatusEnum()
Returns the gate execution status enum of the task.
|
java.util.List<java.lang.String> |
getNotes()
Returns the notes attached to this task's gate execution as a list of strings.
|
NotifPipelineStageExecInfo |
getPipelineStageExecInfo()
Returns the execution info data provided in the linked pipeline stage.
|
NotifSnapshot |
getSnapshot()
Returns the snapshot data linked to this task's pipeline execution.
|
java.lang.String |
getSnapshotCreatedByFullName() |
java.lang.String |
getSnapshotCreatedByUserAndFullName() |
java.lang.String |
getTaskNotes()
Returns the notes entered by the approver who approves/rejects the approval task.
|
getActionBy, getActionByFullName, getActionOn, getChangeLogsFromSnapshot, getExternalSystemId, getExternalTicket, getGroupId, getHumanTaskIdentityUuid, getId, getPipelineStageGateExecId, getPipelineStageStepExecId, getReleaseDefinitionId, getStatus, getStatusCode, getStatusEnum, getWorkflowRequestIdaddAttachment, 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, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetRecipients, hasAttachmentspublic PipelineGateApprovalAssignedOrRejectedPayload(HumanTaskDataObject pDataObject, NotificationEventTypeEnum pNotificationEventTypeEnum)
pDataObject - The task data.pNotificationEventTypeEnum - The event type.public void addRecipients(java.lang.String pAttributeGroupName)
public NotifPipelineStageExecInfo getPipelineStageExecInfo() throws java.sql.SQLException
java.sql.SQLException - If the information cannot be retrieved from the database.public NotifGate getGate() throws java.sql.SQLException
java.sql.SQLException - If the information cannot be retrieved from the database.public NotifSnapshot getSnapshot() throws java.sql.SQLException
java.sql.SQLException - If the information cannot be retrieved from the database.public NotifEnvironment getEnvironment()
java.sql.SQLException - If the information cannot be retrieved from the database.public java.util.List<EmailAttachment> getAttachments()
throws java.sql.SQLException
NotificationPayloadgetAttachments in interface NotificationPayloadgetAttachments in class BaseNotificationPayloadjava.sql.SQLExceptionpublic java.util.List<java.lang.String> getNotes()
throws java.sql.SQLException
java.sql.SQLException - If the information cannot be retrieved from the database.public java.lang.String getSnapshotCreatedByFullName()
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.lang.String getSnapshotCreatedByUserAndFullName()
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.lang.String getGateExecutionStatus()
public ExecutionUnitStatus getGateExecutionStatusEnum()
public java.lang.String getGateExecutionStatusCode()
public java.lang.String getTaskNotes()