Class BaseHumanTaskPayload

All Implemented Interfaces:
NotificationPayload, Serializable
Direct Known Subclasses:
PipelineGateApprovalAssignedForUserPayload, PipelineGateApprovalAssignedOrRejectedPayload, PipelineManualStepAssignedForUserPayload, PipelineManualStepAssignedPayload, ProjectApprovalTaskPayload, ProjectReviewTaskPayload

public abstract class BaseHumanTaskPayload extends BaseNotificationPayload implements NotificationPayload
Abstract Notification Template payload base class for FlexDeploy task events.
See Also:
  • Field Details

  • Constructor Details

    • BaseHumanTaskPayload

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

    • getGroupId

      public Long getGroupId()
      Returns the internal identifier of the group assigned to the task.
      Returns:
      The internal identifier of the group assigned to the task.
    • getActionBy

      public String getActionBy()
      Returns the name of the user who performed the last action on the task. Null if no action performed.
      Returns:
      The name of the user who performed the last action on the task.
    • getActionByFullName

      public String getActionByFullName()
      Returns the full name of the user who performed the last action on the task. Null if no action performed ("[First Name] [Last Name]").
      Returns:
      The full name of the user who performed the last action on the task.
    • getActionOn

      public Timestamp getActionOn()
      Returns the timestamp of when the last action was performed on the task. Null if no action performed.
      Returns:
      The timestamp of when the last action was performed on the task.
    • getStatusEnum

      public TaskStatusEnum getStatusEnum()
      Returns the status enum of the task.
      Returns:
      The status enum of the task.
    • getStatusCode

      public String getStatusCode()
      Returns the status type name of the task.
      Returns:
      The status type of the task.
    • getStatus

      public String getStatus()
      Returns the display name of this task's status.
      Returns:
      The display name of this task's status.
    • getPipelineStageGateExecId

      public Long getPipelineStageGateExecId()
      Returns the internal identifier of the linked pipeline gate execution. Null if task is not for a pipeline gate.
      Returns:
      The internal identifier of the linked pipeline gate execution.
    • getPipelineStageStepExecId

      public Long getPipelineStageStepExecId()
      Returns the internal identifier of the linked pipelne step execution. Null if task is not for a pipeline step.
      Returns:
      The internal identifier of the linked pipeline step execution.
    • getId

      public Long getId()
      Returns the internal identifier of the task.
      Specified by:
      getId in interface NotificationPayload
      Returns:
      The internal identifier of the task.
    • getExternalSystemId

      public Long getExternalSystemId()
      Returns the internal identifier of the external system linked to an external approval gate. Null if task is not for an external approval gate.
      Returns:
      The internal identifier of the external system linked to an external approval gate.
    • getExternalTicket

      public String getExternalTicket()
      Returns the CMS ticket number linked to an external approval task. Null if task is not for an external approval gate, or if no ticket is assigned.
      Returns:
      The CMS ticket number linked to an external approval task.
    • getWorkflowRequestId

      public Long getWorkflowRequestId()
      Returns the internal identifier of the linked workflow request. Null if task is not for a workflow request.
      Returns:
      The internal identifier of the linked workflow request.
    • getHumanTaskIdentityUuid

      public String getHumanTaskIdentityUuid()
      Returns the UUID for the human task.
      Specified by:
      getHumanTaskIdentityUuid in interface NotificationPayload
      Overrides:
      getHumanTaskIdentityUuid in class BaseNotificationPayload
      Returns:
      The UUID for the human task.
    • getReleaseDefinitionId

      public Long getReleaseDefinitionId() throws SQLException
      Returns the internal identifier of the release linked to this task. Null if task is not part of a release execution.
      Returns:
      The internal identifier of the release linked to this task.
      Throws:
      SQLException
    • getChangeLogsFromSnapshot

      protected List<NotifScmCommit> getChangeLogsFromSnapshot(NotifSnapshot pNotifSnapshot) throws SQLException
      Throws:
      SQLException