public abstract class BaseHumanTaskPayload extends BaseNotificationPayload implements NotificationPayload
Modifier and Type | Field and Description |
---|---|
protected HumanTaskDataObject |
mHumanTaskDataObject |
mAttributeGroupName, mNotificationEventTypeEnum, mPipelineAttachments, mPipelineNotes
DATE_FORMAT
Constructor and Description |
---|
BaseHumanTaskPayload(HumanTaskDataObject pHumanTaskDataObject,
java.lang.String pAttributeGroupName,
NotificationEventTypeEnum pNotificationEventTypeEnum)
Creates the notification payload
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getActionBy()
Returns the name of the user who performed the last action on the task.
|
java.lang.String |
getActionByFullName()
Returns the full name of the user who performed the last action on the task.
|
java.sql.Timestamp |
getActionOn()
Returns the timestamp of when the last action was performed on the task.
|
protected java.util.List<NotifScmCommit> |
getChangeLogsFromSnapshot(NotifSnapshot pNotifSnapshot) |
java.lang.Long |
getExternalSystemId()
Returns the internal identifier of the external system linked to an external approval gate.
|
java.lang.String |
getExternalTicket()
Returns the CMS ticket number linked to an external approval task.
|
java.lang.Long |
getGroupId()
Returns the internal identifier of the group assigned to the task.
|
java.lang.String |
getHumanTaskIdentityUuid()
Returns the UUID for the human task.
|
java.lang.Long |
getId()
Returns the internal identifier of the task.
|
java.lang.Long |
getPipelineStageGateExecId()
Returns the internal identifier of the linked pipeline gate execution.
|
java.lang.Long |
getPipelineStageStepExecId()
Returns the internal identifier of the linked pipelne step execution.
|
java.lang.Long |
getReleaseDefinitionId()
Returns the internal identifier of the release linked to this task.
|
java.lang.String |
getStatus()
Returns the display name of this task's status.
|
java.lang.String |
getStatusCode()
Returns the status type name of the task.
|
TaskStatusEnum |
getStatusEnum()
Returns the status enum of the task.
|
java.lang.Long |
getWorkflowRequestId()
Returns the internal identifier of the linked workflow request.
|
addAttachment, addAttachment, addAttachment, addAttachment, addRecipientsByCommittersIfEligible, addRecipientsByGroupId, addRecipientsByGroupIdIfEligible, addRecipientsByGroupNameIfEligible, addRecipientsByPipelineRoleMember, addRecipientsByPipelineRoleUserOrEmailMember, addRecipientsBySubscriptions, addRecipientsByUserIdIfEligible, addRecipientsByUserNameIfEligible, addRecipientsForPiplelineGateByPipelineRoleUserOrEmailMember, addRecipientsForPiplelineStepExecution, getApprovalGateRoleByGateId, getApprovalTaskUrlPath, getAttachments, getFolderWithHierarchy, getHumanTaskUrlPath, getManualStepRoleByStepId, getPipelineStageExecutionSnapshotQueryResultRow, getRecipients, getUserFullName, hasAttachments, isGroupMemberOfPipelineRole, isSendLogAttachments, isShowNotesAndSendAttachments, populatePipelineAttachmentsAndNotes, sendLogAttachments, showNotesAndSendAttachments, showTextForMissingUrlSetup, toNotifScmCommits, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addRecipients, getAttachments, getRecipients, hasAttachments
protected final HumanTaskDataObject mHumanTaskDataObject
public BaseHumanTaskPayload(HumanTaskDataObject pHumanTaskDataObject, java.lang.String pAttributeGroupName, NotificationEventTypeEnum pNotificationEventTypeEnum)
pHumanTaskDataObject
- The task data.pAttributeGroupName
- The medium settings group name.pMediumEnum
- The medium type.pNotificationEventTypeEnum
- The event type.public java.lang.Long getGroupId()
public java.lang.String getActionBy()
public java.lang.String getActionByFullName()
public java.sql.Timestamp getActionOn()
public TaskStatusEnum getStatusEnum()
public java.lang.String getStatusCode()
public java.lang.String getStatus()
public java.lang.Long getPipelineStageGateExecId()
public java.lang.Long getPipelineStageStepExecId()
public java.lang.Long getId()
getId
in interface NotificationPayload
public java.lang.Long getExternalSystemId()
public java.lang.String getExternalTicket()
public java.lang.Long getWorkflowRequestId()
public java.lang.String getHumanTaskIdentityUuid()
getHumanTaskIdentityUuid
in interface NotificationPayload
getHumanTaskIdentityUuid
in class BaseNotificationPayload
public java.lang.Long getReleaseDefinitionId() throws java.sql.SQLException
java.sql.SQLException
protected java.util.List<NotifScmCommit> getChangeLogsFromSnapshot(NotifSnapshot pNotifSnapshot) throws java.sql.SQLException
java.sql.SQLException