Class NotifWorkflowExecution
java.lang.Object
flexagon.ff.common.core.pojos.BasePOJO
flexagon.fd.model2.notification.pojos.NotifWorkflowExecution
- All Implemented Interfaces:
Serializable
Represents a FlexDeploy workflow execution. For use within Notification Templates.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNotifWorkflowExecution(WorkflowExecutionDataObject pDataObject, boolean pPartialDeployment, boolean pBuildWorkflow, boolean pIsChangeLogNeededWithEvent) Create an instance of this object from the information stored in the database. -
Method Summary
Modifier and TypeMethodDescriptionTake logs associated with an instance, if more than one, zip them.Returns the SCM change logs for this project workflow request.Returns the summary error data for the workflow execution.getId()Returns the internal identifier of the workflow execution.Returns the instance that the workflow execution was targeted to.Returns the list of outputs resulting from this workflow execution.Returns the file level results from this workflow execution.getReportFile(String pFileName) Returns the report file details and data for the given name from this execution.Returns all the report files detail and data for this workflow execution.getTasks()Returns the list of tasks for this workflow execution.protected List<NotifScmCommit>toNotifScmCommits(List<ScmCommitDataObject> pScmCommitDataObjects) This method is also available in BaseNotificationPayload
-
Constructor Details
-
NotifWorkflowExecution
public NotifWorkflowExecution(WorkflowExecutionDataObject pDataObject, boolean pPartialDeployment, boolean pBuildWorkflow, boolean pIsChangeLogNeededWithEvent) Create an instance of this object from the information stored in the database.- Parameters:
pDataObject- The data from the database.pPartialDeployment- Whether this workflow execution is for a partial deployment project.pBuildWorkflow- Whether this workflow execution is a build execution
-
-
Method Details
-
getId
Returns the internal identifier of the workflow execution.- Returns:
- The internal identifier of the workflow execution.
-
getInstance
Returns the instance that the workflow execution was targeted to.- Returns:
- The instance that the workflow execution was targeted to.
-
getFaultData
Returns the summary error data for the workflow execution. Null if the workflow executon is not FAILED status.- Returns:
- The instance that the workflow execution was targeted to.
-
getOutputs
Returns the list of outputs resulting from this workflow execution.- Returns:
- The list of outputs resulting from this workflow execution.
-
getPartialDeploymentFileResults
Returns the file level results from this workflow execution. Applicable for partial deployment executions only.- Returns:
- The file level results from this workflow execution.
- Throws:
SQLException
-
createEmailAttachmentsUsingPluginExeuctionLogs
Take logs associated with an instance, if more than one, zip them. -
getReportFiles
Returns all the report files detail and data for this workflow execution.- Parameters:
pPayload- Returns all the report files detail and data for this workflow execution.- Throws:
SQLException
-
getReportFile
Returns the report file details and data for the given name from this execution.- Parameters:
pFileName- The report file name from this execution.- Throws:
SQLException
-
getTasks
Returns the list of tasks for this workflow execution.- Returns:
- The file level results from this workflow execution.
- Throws:
SQLException
-
getChangeLogs
Returns the SCM change logs for this project workflow request.- Returns:
- The SCM change logs for this project workflow request.
- Throws:
SQLException- If the information cannot be retrieved from the database.
-
toNotifScmCommits
This method is also available in BaseNotificationPayload- Parameters:
pScmCommitDataObjects-- Returns:
-