public class PipelineStepExecFailedPayload extends BaseNotificationPayload
mAttributeGroupName, mNotificationEventTypeEnum, mPipelineAttachments, mPipelineNotes
DATE_FORMAT
Constructor and Description |
---|
PipelineStepExecFailedPayload(PipelineStageStepExecDataObject pPipelineStageStepExecDataObject,
java.lang.String pAttributeGroupName,
NotificationEventTypeEnum pNotificationEventTypeEnum)
Creates the notification payload
|
Modifier and Type | Method and Description |
---|---|
void |
addRecipients() |
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 request's linked pipeline stage execution.
|
java.lang.String |
getErrorMessage()
Returns any error message from this pipeline step execution.
|
java.lang.Long |
getId()
Returns the internal identifier of the object on which the event originated.
|
NotifPipelineStageExecInfo |
getPipelineStageExecInfo()
Returns the execution info data provided in the linked pipeline stage.
|
NotifSnapshot |
getSnapshot()
Returns the snapshot data linked to this request's pipeline execution.
|
java.lang.String |
getSnapshotCreatedBy()
Returns the name of the user who created the snapshot linked to this step execution.
|
java.lang.String |
getSnapshotCreatedByFullName()
Returns the full name of the user who created the snapshot linked to this step execution ("[First Name] [Last Name]").
|
java.lang.String |
getSnapshotCreatedByUserAndFullName() |
NotifStep |
getStep()
Returns the pipeline step linked to this execution.
|
java.lang.String |
getStepExecutionStatus()
Returns the display name of this step's execution status.
|
java.lang.String |
getStepExecutionStatusCode()
Returns the step execution status type name of the step.
|
ExecutionUnitStatus |
getStepExecutionStatusEnum()
Returns the execution status enum of the step.
|
java.util.List<NotifWorkflowRequest> |
getWorkflowRequestList()
Returns the list of workflow execution requests that are part of this step execution.
|
addAttachment, addAttachment, addAttachment, addAttachment, addRecipientsByCommittersIfEligible, addRecipientsByGroupId, addRecipientsByGroupIdIfEligible, addRecipientsByGroupNameIfEligible, addRecipientsByPipelineRoleMember, addRecipientsByPipelineRoleUserOrEmailMember, addRecipientsBySubscriptions, addRecipientsByUserIdIfEligible, addRecipientsByUserNameIfEligible, addRecipientsForPiplelineGateByPipelineRoleUserOrEmailMember, addRecipientsForPiplelineStepExecution, getApprovalGateRoleByGateId, getApprovalTaskUrlPath, getFolderWithHierarchy, getHumanTaskIdentityUuid, getHumanTaskUrlPath, getManualStepRoleByStepId, getPipelineStageExecutionSnapshotQueryResultRow, getRecipients, getUserFullName, hasAttachments, isGroupMemberOfPipelineRole, isSendLogAttachments, isShowNotesAndSendAttachments, populatePipelineAttachmentsAndNotes, sendLogAttachments, showNotesAndSendAttachments, showTextForMissingUrlSetup, toNotifScmCommits, toString
public PipelineStepExecFailedPayload(PipelineStageStepExecDataObject pPipelineStageStepExecDataObject, java.lang.String pAttributeGroupName, NotificationEventTypeEnum pNotificationEventTypeEnum)
pPipelineStageStepExecDataObject
- The pipeline stage step execution data.pAttributeGroupName
- The medium settings group name.pMediumEnum
- The medium type.pNotificationEventTypeEnum
- The event type.public void addRecipients()
public NotifStep getStep() 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() throws java.sql.SQLException
java.sql.SQLException
- If the information cannot be retrieved from the database.public NotifPipelineStageExecInfo getPipelineStageExecInfo() throws java.sql.SQLException
java.sql.SQLException
- If the information cannot be retrieved from the database.public java.util.List<EmailAttachment> getAttachments() throws java.sql.SQLException
NotificationPayload
getAttachments
in interface NotificationPayload
getAttachments
in class BaseNotificationPayload
java.sql.SQLException
public java.lang.String getErrorMessage()
java.sql.SQLException
- If the information cannot be retrieved from the database.public java.util.List<NotifWorkflowRequest> getWorkflowRequestList() throws java.sql.SQLException
java.sql.SQLException
- If the information cannot be retrieved from the database.public java.lang.String getSnapshotCreatedBy() 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.SQLException
- If the information cannot be retrieved from the database.public java.lang.String getSnapshotCreatedByUserAndFullName() throws java.sql.SQLException
java.sql.SQLException
public java.lang.Long getId()
NotificationPayload
public java.lang.String getStepExecutionStatus()
public ExecutionUnitStatus getStepExecutionStatusEnum()
public java.lang.String getStepExecutionStatusCode()