Class PipelineGateApprovalAssignedOrRejectedPayload

All Implemented Interfaces:
NotificationPayload, Serializable

public class PipelineGateApprovalAssignedOrRejectedPayload extends BaseHumanTaskPayload
Notification Template payload representing an approval task for a pipeline gate.
See Also:
  • Constructor Details

    • PipelineGateApprovalAssignedOrRejectedPayload

      public PipelineGateApprovalAssignedOrRejectedPayload(HumanTaskDataObject pDataObject, NotificationEventTypeEnum pNotificationEventTypeEnum)
      Creates the notification payload
      Parameters:
      pDataObject - The task data.
      pNotificationEventTypeEnum - The event type.
  • Method Details

    • addRecipients

      public void addRecipients(String pAttributeGroupName)
    • getPipelineStageExecInfo

      public NotifPipelineStageExecInfo getPipelineStageExecInfo() throws SQLException
      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.
    • getGate

      public NotifGate getGate() throws SQLException
      Returns the pipeline gate linked to this task.
      Returns:
      The pipeline gate linked to this task.
      Throws:
      SQLException - If the information cannot be retrieved from the database.
    • getSnapshot

      public NotifSnapshot getSnapshot() throws SQLException
      Returns the snapshot data linked to this task's pipeline execution.
      Returns:
      The snapshot data linked to this task's pipeline execution.
      Throws:
      SQLException - If the information cannot be retrieved from the database.
    • getEnvironment

      public NotifEnvironment getEnvironment()
      Returns the environment data for this task's linked pipeline stage execution.
      Returns:
      The environment data for this task's linked pipeline stage execution.
      Throws:
      SQLException - If the information cannot be retrieved from the database.
    • getAttachments

      public List<EmailAttachment> getAttachments() throws SQLException
      Description copied from interface: NotificationPayload
      Returns a list of email attachments pertaining to the event which has occurred.
      Specified by:
      getAttachments in interface NotificationPayload
      Overrides:
      getAttachments in class BaseNotificationPayload
      Returns:
      A list of email attachements.
      Throws:
      SQLException
    • getNotes

      public List<String> getNotes() throws SQLException
      Returns the notes attached to this task's gate execution as a list of strings.
      Returns:
      Returns the notes attached to this task's gate execution as a list of strings.
      Throws:
      SQLException - If the information cannot be retrieved from the database.
    • getSnapshotCreatedByFullName

      public String getSnapshotCreatedByFullName() throws SQLException
      Throws:
      SQLException
    • getSnapshotCreatedByUserAndFullName

      public String getSnapshotCreatedByUserAndFullName() throws SQLException
      Throws:
      SQLException
    • getGateExecutionStatus

      public String getGateExecutionStatus()
      Returns the display name of this gate's execution status.
      Returns:
      The display name of this gate's execution status.
    • getGateExecutionStatusEnum

      public ExecutionUnitStatus getGateExecutionStatusEnum()
      Returns the gate execution status enum of the task.
      Returns:
      The gate execution status enum of the task.
    • getGateExecutionStatusCode

      public String getGateExecutionStatusCode()
      Returns the gate execution status type name of the task.
      Returns:
      The gate execution status type of the task.
    • getTaskNotes

      public String getTaskNotes()
      Returns the notes entered by the approver who approves/rejects the approval task.
      Returns:
      The notes entered by the approver