Package com.aspose.tasks
Class RiskAnalysisResult
- java.lang.Object
-
- com.aspose.tasks.RiskAnalysisResult
-
public class RiskAnalysisResult extends Object
Represents a result of risk analysis.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RiskItemStatisticsCollectiongetRiskItems(int itemType)Returns an instance of theRiskItemStatisticsCollectionfor the specified risk type.voidsaveReport(InputStream stream)Saves the risk analysis report to the stream in PDF format.voidsaveReport(String fileName)Saves the risk analysis report to the specified file path in PDF format.
-
-
-
Method Detail
-
getRiskItems
public final RiskItemStatisticsCollection getRiskItems(int itemType)
Returns an instance of the
RiskItemStatisticsCollectionfor the specified risk type.- Parameters:
itemType- the specified risk type; can be one of the values of theRiskItemTypeenumeration.- Returns:
- an instance of the
RiskItemStatisticsCollectionfor the specified risk type.
-
saveReport
public final void saveReport(String fileName) throws IOException
Saves the risk analysis report to the specified file path in PDF format.
- Parameters:
fileName- The specified file name.- Throws:
IOException
-
saveReport
public final void saveReport(InputStream stream) throws IOException
Saves the risk analysis report to the stream in PDF format.
- Parameters:
stream- The stream to save risk analysis report to.- Throws:
IOException
-
-