Class PipelineNotificationStepPayload
java.lang.Object
flexagon.ff.common.core.pojos.BasePOJO
flexagon.fd.model2.notification.payload.BaseNotificationPayload
flexagon.fd.model2.notification.payload.PipelineNotificationStepPayload
- All Implemented Interfaces:
NotificationPayload,Serializable
- 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
ConstructorsConstructorDescriptionPipelineNotificationStepPayload(PipelineStageStepExecDataObject pPipelineStageStepExecDataObject, NotificationEventTypeEnum pNotificationEventTypeEnum) Creates the notification payload -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRecipients(String pAttributeGroupName) protected ObjectReturns a list of email attachments pertaining to the event which has occurred.Returns the environment data for this request's linked pipeline stage 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]").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.protected booleanisValueExpression(PipelineScriptType pScript) 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
-
PipelineNotificationStepPayload
public PipelineNotificationStepPayload(PipelineStageStepExecDataObject pPipelineStageStepExecDataObject, NotificationEventTypeEnum pNotificationEventTypeEnum) Creates the notification payload- Parameters:
pPipelineStageStepExecDataObject- The pipeline stage step execution data.pNotificationEventTypeEnum- The event type.
-
-
Method Details
-
addRecipients
-
getNotificationStep
- Throws:
SQLException
-
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
-
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.
-
getTemplateId
- Throws:
SQLException
-
getSubject
- Throws:
SQLException
-
getMessage
- Throws:
SQLException
-
evaluatePipelineFlexValueScript
- Throws:
SQLException
-
isValueExpression
-