public class NotifPipelineStepTask extends NotifTask
mAttributeGroupName, mNotificationEventTypeEnum, mNotificationMediumEnum, mPipelineAttachments, mPipelineNotes
DATE_FORMAT
Constructor and Description |
---|
NotifPipelineStepTask(HumanTaskDataObject pHumanTaskDataObject,
java.lang.String pAttributeGroupName,
NotificationMediumEnum pMediumEnum,
NotificationEventTypeEnum pNotificationEventTypeEnum)
Creates the notification payload
|
Modifier and Type | Method and Description |
---|---|
void |
addRecipients() |
java.util.List<EmailAttachment> |
getAttachments()
Returns a list of email attachments pertaining to the event which has occurred.
|
NotifEnvironment |
getEnvironment()
Returns the environment data for this task's linked pipeline stage execution.
|
java.util.List<java.lang.String> |
getNotes()
Returns the notes attached to this task's step execution as a list of strings.
|
NotifPipelineStageExecInfo |
getPipelineStageExecInfo()
Returns the execution info data provided in the linked pipeline stage.
|
NotifSnapshot |
getSnapshot()
Returns the snapshot data linked to this task's pipeline execution.
|
java.lang.String |
getSnapshotCreatedByFullName() |
NotifStep |
getStep()
Returns the pipeline step linked to this task.
|
java.lang.String |
getStepExecutionStatus()
Returns the display name of this step's execution status.
|
java.lang.String |
getStepExecutionStatusCode()
Returns the step execution status type name of the task.
|
ExecutionUnitStatus |
getStepExecutionStatusEnum()
Returns the step execution status enum of the task.
|
getActionBy, getActionByFullName, getActionOn, getChangeLogsFromSnapshot, getExternalSystemId, getExternalTicket, getGroupId, getHumanTaskIdentityUuid, getId, getPipelineStageGateExecId, getPipelineStageStepExecId, getReleaseDefinitionId, getStatus, getStatusCode, getStatusEnum, getWorkflowRequestId
addAttachment, addAttachment, addAttachment, addAttachment, addRecipientsByCommittersIfEligible, addRecipientsByGroupId, addRecipientsByGroupNameIfEligible, addRecipientsByPipelineRoleMember, addRecipientsByPipelineRoleUserOrEmailMember, addRecipientsBySubscriptions, addRecipientsByUserNameIfEligible, addRecipientsForPiplelineGate, addRecipientsForPiplelineStepExecution, getApprovalGateRoleByGateId, getApprovalTaskUrlPath, 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
getRecipients, hasAttachments
public NotifPipelineStepTask(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 void addRecipients()
public NotifPipelineStageExecInfo getPipelineStageExecInfo() throws java.sql.SQLException
java.sql.SQLException
- If the information cannot be retrieved from the database.public NotifStep getStep() throws java.sql.SQLException
java.sql.SQLException
- If the information cannot be retrieved from the database.public NotifSnapshot getSnapshot() throws java.sql.SQLException
java.sql.SQLException
- If the information cannot be retrieved from the database.public NotifEnvironment getEnvironment()
java.sql.SQLException
- If the information cannot be retrieved from the database.public java.util.List<EmailAttachment> getAttachments() throws java.sql.SQLException
NotificationPayload
getAttachments
in interface NotificationPayload
getAttachments
in class AbstractNotifBaseRequest
java.sql.SQLException
public java.util.List<java.lang.String> getNotes() throws java.sql.SQLException
java.sql.SQLException
- If the information cannot be retrieved from the database.public java.lang.String getSnapshotCreatedByFullName() throws java.sql.SQLException
java.sql.SQLException
public java.lang.String getStepExecutionStatus()
public ExecutionUnitStatus getStepExecutionStatusEnum()
public java.lang.String getStepExecutionStatusCode()