Class PipelineStepExecFailedPayload
java.lang.Object
flexagon.ff.common.core.pojos.BasePOJO
flexagon.fd.model2.notification.payload.BaseNotificationPayload
flexagon.fd.model2.notification.payload.PipelineStepExecFailedPayload
- All Implemented Interfaces:
NotificationPayload,Serializable
Notification Template payload representing a pipeline step execution request.
- See Also:
-
Field Summary
Fields 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
ConstructorsConstructorDescriptionPipelineStepExecFailedPayload(PipelineStageStepExecDataObject pPipelineStageStepExecDataObject, 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 environment data for this request's linked pipeline stage execution.Returns any error message from this pipeline step execution.getId()Returns the internal identifier of the object on which the event originated.Returns the execution info data provided in the linked pipeline stage.Returns the snapshot data linked to this request's pipeline execution.Returns the name of the user who created the snapshot linked to this step execution.Returns the full name of the user who created the snapshot linked to this step execution ("[First Name] [Last Name]").getStep()Returns the pipeline step linked to this execution.Returns the display name of this step's execution status.Returns the step execution status type name of the step.Returns the execution status enum of the step.Returns the list of workflow execution requests that are part of this step execution.Methods 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, getHumanTaskIdentityUuid, 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
isImportant
-
Constructor Details
-
PipelineStepExecFailedPayload
public PipelineStepExecFailedPayload(PipelineStageStepExecDataObject pPipelineStageStepExecDataObject, NotificationEventTypeEnum pNotificationEventTypeEnum) Creates the notification payload- Parameters:
pPipelineStageStepExecDataObject- The pipeline stage step execution data.pNotificationEventTypeEnum- The event type.
-
-
Method Details
-
addRecipients
-
getStep
Returns the pipeline step linked to this execution.- Returns:
- The pipeline step linked to this execution.
- Throws:
SQLException- If the information cannot be retrieved from the database.
-
getSnapshot
Returns the snapshot data linked to this request's pipeline execution.- Returns:
- The snapshot data linked to this request's pipeline execution.
- Throws:
SQLException- If the information cannot be retrieved from the database.
-
getEnvironment
Returns the environment data for this request's linked pipeline stage execution.- Returns:
- The environment data for this request's linked pipeline stage execution.
- Throws:
SQLException- If the information cannot be retrieved from the database.
-
getPipelineStageExecInfo
Returns the execution info data provided in the linked pipeline stage.- Returns:
- The execution info data provided in the linked pipeline stage.
- Throws:
SQLException- If the information cannot be retrieved from the database.
-
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
-
getErrorMessage
Returns any error message from this pipeline step execution.- Returns:
- Any error message from this pipeline step execution.
- Throws:
SQLException- If the information cannot be retrieved from the database.
-
getWorkflowRequestList
Returns the list of workflow execution requests that are part of this step execution.- Returns:
- The list of workflow execution requests that are part of this step execution.
- Throws:
SQLException- If the information cannot be retrieved from the database.
-
getSnapshotCreatedBy
Returns the name of the user who created the snapshot linked to this step execution.- Returns:
- The name of the user who created the snapshot linked to this step execution.
- Throws:
SQLException- If the information cannot be retrieved from the database.
-
getSnapshotCreatedByFullName
Returns the full name of the user who created the snapshot linked to this step execution ("[First Name] [Last Name]").- Returns:
- The full name of the user who created the snapshot linked to this step execution.
- Throws:
SQLException- If the information cannot be retrieved from the database.
-
getSnapshotCreatedByUserAndFullName
- Throws:
SQLException
-
getId
Description copied from interface:NotificationPayloadReturns the internal identifier of the object on which the event originated.- Returns:
- The internal identifier of the object on which the event originated.
-
getStepExecutionStatus
Returns the display name of this step's execution status.- Returns:
- The display name of this step's execution status.
-
getStepExecutionStatusEnum
Returns the execution status enum of the step.- Returns:
- The execution status enum of the step.
-
getStepExecutionStatusCode
Returns the step execution status type name of the step.- Returns:
- The execution status type of the step.
-