public abstract class NotifTask extends AbstractNotifBaseRequest implements NotificationPayload
Modifier and Type | Field and Description |
---|---|
protected HumanTaskDataObject |
mHumanTaskDataObject |
mAttributeGroupName, mNotificationEventTypeEnum, mNotificationMediumEnum, mPipelineAttachments, mPipelineNotes
DATE_FORMAT
Constructor and Description |
---|
NotifTask(HumanTaskDataObject pHumanTaskDataObject,
java.lang.String pAttributeGroupName,
NotificationMediumEnum pMediumEnum,
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<SCMSourceRevisionData> |
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, addRecipientsByGroupNameIfEligible, addRecipientsByPipelineRoleMember, addRecipientsByPipelineRoleUserOrEmailMember, addRecipientsBySubscriptions, addRecipientsByUserNameIfEligible, addRecipientsForPiplelineGate, addRecipientsForPiplelineStepExecution, getApprovalGateRoleByGateId, getApprovalTaskUrlPath, getAttachments, getFolderWithHierarchy, getHumanTaskUrlPath, getManualStepRoleByStepId, getPipelineStageExecutionSnapshotQueryResultRow, getRecipients, getUserFullName, hasAttachments, isGroupMemberOfPipelineRole, isSendLogAttachments, isShowNotesAndSendAttachments, populatePipelineAttachmentsAndNotes, sendLogAttachments, showNotesAndSendAttachments, showTextForMissingUrlSetup, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addRecipients, getAttachments, getRecipients, hasAttachments
public NotifTask(HumanTaskDataObject pHumanTaskDataObject, java.lang.String pAttributeGroupName, NotificationMediumEnum pMediumEnum, 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 AbstractNotifBaseRequest
public java.lang.Long getReleaseDefinitionId() throws java.sql.SQLException
java.sql.SQLException
protected java.util.List<SCMSourceRevisionData> getChangeLogsFromSnapshot(NotifSnapshot pNotifSnapshot) throws java.sql.SQLException
java.sql.SQLException