public class NotifWorkflowExecution
extends BasePOJO
| Constructor and Description | 
|---|
NotifWorkflowExecution(WorkflowExecutionDataObject pDataObject,
                      boolean pPartialDeployment,
                      boolean pBuildWorkflow)
Create an instance of this object from the information stored in the database. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.util.List<EmailAttachment> | 
createEmailAttachmentsUsingPluginExeuctionLogs()
Take logs associated with an instance, if more than one, zip them. 
 | 
java.lang.String | 
getFaultData()
Returns the summary error data for the workflow execution. 
 | 
java.lang.Long | 
getId()
Returns the internal identifier of the workflow execution. 
 | 
NotifInstance | 
getInstance()
Returns the instance that the workflow execution was targeted to. 
 | 
java.util.List<NotifOutput> | 
getOutputs()
Returns the list of outputs resulting from this workflow execution. 
 | 
java.util.List<NotifPartialDeploymentFileResult> | 
getPartialDeploymentFileResults()
Returns the file level results from this workflow execution. 
 | 
NotifReportData | 
getReportFile(java.lang.String pFileName)
Returns the report file details and data for the given name from this execution. 
 | 
java.util.List<NotifReportData> | 
getReportFiles()
Returns all the report files detail and data for this workflow execution. 
 | 
java.util.List<NotifExecutionTask> | 
getTasks()
Returns the list of tasks for this workflow execution. 
 | 
public NotifWorkflowExecution(WorkflowExecutionDataObject pDataObject,
                              boolean pPartialDeployment,
                              boolean pBuildWorkflow)
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 executionpublic java.lang.Long getId()
public NotifInstance getInstance()
public java.lang.String getFaultData()
public java.util.List<NotifOutput> getOutputs()
public java.util.List<NotifPartialDeploymentFileResult> getPartialDeploymentFileResults() throws java.sql.SQLException
java.sql.SQLExceptionpublic java.util.List<EmailAttachment> createEmailAttachmentsUsingPluginExeuctionLogs()
public java.util.List<NotifReportData> getReportFiles() throws java.sql.SQLException
pPayload - Returns all the report files detail and data for this workflow execution.java.sql.SQLExceptionpublic NotifReportData getReportFile(java.lang.String pFileName) throws java.sql.SQLException
pFileName - The report file name from this execution.java.sql.SQLExceptionpublic java.util.List<NotifExecutionTask> getTasks() throws java.sql.SQLException
java.sql.SQLException